#0B1F3A Color
#0B1F3A is rgb(11, 31, 58) in RGB, hsl(214, 68%, 14%) in HSL, and about cmyk(81%, 47%, 0%, 77%) in CMYK. The closest CSS named color is MidnightBlue (#191970). White text is the more readable choice on this background.
#0B1F3Argb(11, 31, 58)hsl(214, 68%, 14%)hsv(214, 81%, 23%)cmyk(81%, 47%, 0%, 77%)oklch(23.9% 0.058 256.7)lab(11.37% 0.39 -20.22)lch(11.37% 20.23 271.11)#0B1F3A Channel Values
How #0B1F3A breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 11 · G 31 · B 58 | 8-bit channels as sent to the display |
| HSL | H 214° · S 68% · L 14% | Easiest model for building lighter and darker variants |
| HSV | H 214° · S 81% · V 23% | Matches the picker in most design tools |
| CMYK | C 81% · M 47% · Y 0% · K 77% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 16.52:1 vs white · 1.27:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a #0B1F3A background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #0B1F3A in the contrast checker.
Colors That Go With #0B1F3A
Pairings derived from color-wheel relationships. The complementary color sits opposite #0B1F3A; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of #0B1F3A
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #0B1F3A.
How #0B1F3A Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#0B1F3A#1C1C3A#171E3A#1A1A3A#151C3A#002424#04222E#1F1F1FUsing #0B1F3A in Code
Copy-ready declarations for the places this color usually ends up.
--color-0b1f3a: #0B1F3A;background-color: #0B1F3A;colors: { 'color-0b1f3a': '#0B1F3A' }Color(red: 0.043, green: 0.122, blue: 0.227)<color name="color_0b1f3a">#0B1F3A</color>fill="#0B1F3A"#0B1F3A Frequently Asked Questions
What is the RGB value of #0B1F3A?
#0B1F3A is rgb(11, 31, 58) — red 11, green 31, and blue 58 on the 0-255 scale.
What is the CMYK value of #0B1F3A?
#0B1F3A converts to approximately cmyk(81%, 47%, 0%, 77%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #0B1F3A be black or white?
White text is the more readable choice. #0B1F3A scores 16.52:1 against white and 1.27:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Does #0B1F3A have a color name?
#0B1F3A is not one of the 140 CSS named colors. The closest named color is MidnightBlue (#191970), at a CIE76 distance of 40.1, so the two are clearly different.
Open #0B1F3A in a Tool
#0B1F3A sits in the blue family — browse every shade of blue with hex codes, or return to the full color library.