#0B1842#0B1842

#0B1842 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.082 H 266.7°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#0B1842
RGBrgb(11, 24, 66)
HSLhsl(226, 71%, 15%)
HSVhsv(226, 83%, 26%)
CMYKcmyk(83.3%, 63.6%, 0%, 74.1%)
CIE-LABlab(9.94, 12.15, -28.27)
CIE-LCHlch(9.94, 30.78, 293.26°)
OKLaboklab(22.81% -0.0047 -0.0815)
OKLCHoklch(22.81% 0.082 266.7)
XYZxyz(1.4477, 1.1176, 5.2926)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1842 #42350B
analogous
#0B3442 #0B1842 #190B42
triadic
#0B1842 #420B18 #18420B
tetradic
#0B1842 #420B34 #42350B #0B4219
square
#0B1842 #420B34 #42350B #0B4219
split-complementary
#0B1842 #42190B #34420B
monochromatic
#040A1A #040A1A #0B1842 #142B76 #1C3EAB

Accessibility & contrast

On white

17.16
#0B1842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0B1842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1842
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1842#FFFFFF#000000##FFFFFF
##0B18421.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#00222A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0b1842;
/* rgb */ color: rgb(11, 24, 66);
/* oklch */ color: oklch(22.8% 0.082 266.7);
Tailwind
colors: {
  custom: {
    50: '#545477',
    500: '#0b1842',
    950: '#000000',
  },
}
SCSS
$custom: #0b1842;
$custom-light: #545477;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1842",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 225.818,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22808,
    "c": 0.08165,
    "h": 266.7
  },
  "luminance": 0.01118
}

Semantic roles & 50–950 ramp

primary
#0B1842
secondary
#7F6B2A
accent
#C33AEE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1842

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

Preview Lab → · Contrast checker → · Palette generator →

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