#0B1941#0B1941

#0B1941 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.079 H 265.8°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#0B1941
RGBrgb(11, 25, 65)
HSLhsl(224, 71%, 15%)
HSVhsv(224, 83%, 25%)
CMYKcmyk(83.1%, 61.5%, 0%, 74.5%)
CIE-LABlab(10.17, 10.91, -27.19)
CIE-LCHlch(10.17, 29.30, 291.87°)
OKLaboklab(22.96% -0.0057 -0.0783)
OKLCHoklch(22.96% 0.079 265.8)
XYZxyz(1.4394, 1.1479, 5.1457)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1941 #41330B
analogous
#0B3441 #0B1941 #180B41
triadic
#0B1941 #410B19 #19410B
tetradic
#0B1941 #410B34 #41330B #0B4118
square
#0B1941 #410B34 #41330B #0B4118
split-complementary
#0B1941 #41180B #34410B
monochromatic
#040A1A #040A1A #0B1941 #142D75 #1D41AA

Accessibility & contrast

On white

17.08
#0B1941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0B1941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1941
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1941#FFFFFF#000000##FFFFFF
##0B19411.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b1941;
/* rgb */ color: rgb(11, 25, 65);
/* oklch */ color: oklch(23.0% 0.079 265.8);
Tailwind
colors: {
  custom: {
    50: '#535576',
    500: '#0b1941',
    950: '#000000',
  },
}
SCSS
$custom: #0b1941;
$custom-light: #535576;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1941",
  "rgb": {
    "r": 11,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 224.444,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22955,
    "c": 0.07853,
    "h": 265.8
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#0B1941
secondary
#7E682A
accent
#BF3AEE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1941

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

Preview Lab → · Contrast checker → · Palette generator →

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