#0B1F4F#0B1F4F

#0B1F4F is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.092 H 263.9°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#0B1F4F
RGBrgb(11, 31, 79)
HSLhsl(222, 76%, 18%)
HSVhsv(222, 86%, 31%)
CMYKcmyk(86.1%, 60.8%, 0%, 69%)
CIE-LABlab(13.32, 12.53, -31.79)
CIE-LCHlch(13.32, 34.17, 291.51°)
OKLaboklab(25.73% -0.0097 -0.0917)
OKLCHoklch(25.73% 0.092 263.9)
XYZxyz(2.0388, 1.6154, 7.6000)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1F4F #4F3B0B
analogous
#0B414F #0B1F4F #190B4F
triadic
#0B1F4F #4F0B1F #1F4F0B
tetradic
#0B1F4F #4F0B41 #4F3B0B #0B4F19
square
#0B1F4F #4F0B41 #4F3B0B #0B4F19
split-complementary
#0B1F4F #4F190B #414F0B
monochromatic
#040B1B #040B1B #0B1F4F #123485 #1A49BA

Accessibility & contrast

On white

15.87
#0B1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1F4F
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1F4F#FFFFFF#000000##FFFFFF
##0B1F4F1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b1f4f;
/* rgb */ color: rgb(11, 31, 79);
/* oklch */ color: oklch(25.7% 0.092 263.9);
Tailwind
colors: {
  custom: {
    50: '#575a81',
    500: '#0b1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #0b1f4f;
$custom-light: #575a81;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1f4f",
  "rgb": {
    "r": 11,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 222.353,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25728,
    "c": 0.09224,
    "h": 263.9
  },
  "luminance": 0.01616
}

Semantic roles & 50–950 ramp

primary
#0B1F4F
secondary
#8B6F2B
accent
#BB36F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0B1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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