#0B1F4D#0B1F4D

#0B1F4D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.089 H 263.6°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#0B1F4D
RGBrgb(11, 31, 77)
HSLhsl(222, 75%, 17%)
HSVhsv(222, 86%, 30%)
CMYKcmyk(85.7%, 59.7%, 0%, 69.8%)
CIE-LABlab(13.15, 11.64, -30.70)
CIE-LCHlch(13.15, 32.83, 290.76°)
OKLaboklab(25.54% -0.0099 -0.0885)
OKLCHoklch(25.54% 0.089 263.6)
XYZxyz(1.9671, 1.5867, 7.2223)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1F4D #4D390B
analogous
#0B404D #0B1F4D #180B4D
triadic
#0B1F4D #4D0B1F #1F4D0B
tetradic
#0B1F4D #4D0B40 #4D390B #0B4D18
square
#0B1F4D #4D0B40 #4D390B #0B4D18
split-complementary
#0B1F4D #4D180B #404D0B
monochromatic
#040B1B #040B1B #0B1F4D #133583 #1A4AB8

Accessibility & contrast

On white

15.94
#0B1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1F4D
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1F4D#FFFFFF#000000##FFFFFF
##0B1F4D1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0b1f4d;
/* rgb */ color: rgb(11, 31, 77);
/* oklch */ color: oklch(25.5% 0.089 263.6);
Tailwind
colors: {
  custom: {
    50: '#565a7f',
    500: '#0b1f4d',
    950: '#000000',
  },
}
SCSS
$custom: #0b1f4d;
$custom-light: #565a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1f4d",
  "rgb": {
    "r": 11,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 221.818,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2554,
    "c": 0.08908,
    "h": 263.6
  },
  "luminance": 0.01587
}

Semantic roles & 50–950 ramp

primary
#0B1F4D
secondary
#896C2B
accent
#B936F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #0B1F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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