#0B1641#0B1641

#0B1641 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.083 H 268.0°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#0B1641
RGBrgb(11, 22, 65)
HSLhsl(228, 71%, 15%)
HSVhsv(228, 83%, 25%)
CMYKcmyk(83.1%, 66.2%, 0%, 74.5%)
CIE-LABlab(9.21, 13.28, -28.75)
CIE-LCHlch(9.21, 31.67, 294.79°)
OKLaboklab(22.24% -0.0029 -0.0829)
OKLCHoklch(22.24% 0.083 268)
XYZxyz(1.3787, 1.0265, 5.1255)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1641 #41360B
analogous
#0B3141 #0B1641 #1B0B41
triadic
#0B1641 #410B16 #16410B
tetradic
#0B1641 #410B31 #41360B #0B411B
square
#0B1641 #410B31 #41360B #0B411B
split-complementary
#0B1641 #411B0B #31410B
monochromatic
#04091A #04091A #0B1641 #142875 #1D39AA

Accessibility & contrast

On white

17.42
#0B1641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0B1641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1641
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1641#FFFFFF#000000##FFFFFF
##0B16411.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b1641;
/* rgb */ color: rgb(11, 22, 65);
/* oklch */ color: oklch(22.2% 0.083 268.0);
Tailwind
colors: {
  custom: {
    50: '#535276',
    500: '#0b1641',
    950: '#000000',
  },
}
SCSS
$custom: #0b1641;
$custom-light: #535276;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1641",
  "rgb": {
    "r": 11,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 227.778,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22236,
    "c": 0.083,
    "h": 268
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#0B1641
secondary
#7E6D2A
accent
#C93AEE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1641

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

Preview Lab → · Contrast checker → · Palette generator →

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