#0B1F4E#0B1F4E

#0B1F4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.091 H 263.8°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#0B1F4E
RGBrgb(11, 31, 78)
HSLhsl(222, 75%, 17%)
HSVhsv(222, 86%, 31%)
CMYKcmyk(85.9%, 60.3%, 0%, 69.4%)
CIE-LABlab(13.24, 12.09, -31.25)
CIE-LCHlch(13.24, 33.50, 291.14°)
OKLaboklab(25.63% -0.0098 -0.0901)
OKLCHoklch(25.63% 0.091 263.8)
XYZxyz(2.0027, 1.6009, 7.4097)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1F4E #4E3A0B
analogous
#0B404E #0B1F4E #190B4E
triadic
#0B1F4E #4E0B1F #1F4E0B
tetradic
#0B1F4E #4E0B40 #4E3A0B #0B4E19
square
#0B1F4E #4E0B40 #4E3A0B #0B4E19
split-complementary
#0B1F4E #4E190B #404E0B
monochromatic
#040B1B #040B1B #0B1F4E #133484 #1A4AB9

Accessibility & contrast

On white

15.91
#0B1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0B1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1F4E
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1F4E#FFFFFF#000000##FFFFFF
##0B1F4E1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002550
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b1f4e;
/* rgb */ color: rgb(11, 31, 78);
/* oklch */ color: oklch(25.6% 0.091 263.8);
Tailwind
colors: {
  custom: {
    50: '#575a80',
    500: '#0b1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #0b1f4e;
$custom-light: #575a80;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1f4e",
  "rgb": {
    "r": 11,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 222.09,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25634,
    "c": 0.09066,
    "h": 263.8
  },
  "luminance": 0.01601
}

Semantic roles & 50–950 ramp

primary
#0B1F4E
secondary
#8A6E2B
accent
#BA36F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0B1F4E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0B1F4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva