#0B1841#0B1841

#0B1841 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.080 H 266.6°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#0B1841
RGBrgb(11, 24, 65)
HSLhsl(226, 71%, 15%)
HSVhsv(226, 83%, 25%)
CMYKcmyk(83.1%, 63.1%, 0%, 74.5%)
CIE-LABlab(9.84, 11.70, -27.72)
CIE-LCHlch(9.84, 30.09, 292.89°)
OKLaboklab(22.71% -0.0048 -0.0799)
OKLCHoklch(22.71% 0.08 266.6)
XYZxyz(1.4184, 1.1059, 5.1387)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1841 #41340B
analogous
#0B3341 #0B1841 #190B41
triadic
#0B1841 #410B18 #18410B
tetradic
#0B1841 #410B33 #41340B #0B4119
square
#0B1841 #410B33 #41340B #0B4119
split-complementary
#0B1841 #41190B #33410B
monochromatic
#040A1A #040A1A #0B1841 #142B75 #1D3FAA

Accessibility & contrast

On white

17.20
#0B1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1841
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1841#FFFFFF#000000##FFFFFF
##0B18411.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0b1841;
/* rgb */ color: rgb(11, 24, 65);
/* oklch */ color: oklch(22.7% 0.080 266.6);
Tailwind
colors: {
  custom: {
    50: '#535476',
    500: '#0b1841',
    950: '#000000',
  },
}
SCSS
$custom: #0b1841;
$custom-light: #535476;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1841",
  "rgb": {
    "r": 11,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 225.556,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22712,
    "c": 0.08002,
    "h": 266.6
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0B1841

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

Preview Lab → · Contrast checker → · Palette generator →

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