#0B1341#0B1341

#0B1341 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.6% C 0.087 H 269.7°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#0B1341
RGBrgb(11, 19, 65)
HSLhsl(231, 71%, 15%)
HSVhsv(231, 83%, 25%)
CMYKcmyk(83.1%, 70.8%, 0%, 74.5%)
CIE-LABlab(8.29, 15.62, -30.25)
CIE-LCHlch(8.29, 34.04, 297.31°)
OKLaboklab(21.56% -0.0004 -0.0874)
OKLCHoklch(21.56% 0.087 269.7)
XYZxyz(1.3247, 0.9184, 5.1075)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1341 #41390B
analogous
#0B2E41 #0B1341 #1E0B41
triadic
#0B1341 #410B13 #13410B
tetradic
#0B1341 #410B2E #41390B #0B411E
square
#0B1341 #410B2E #41390B #0B411E
split-complementary
#0B1341 #411E0B #2E410B
monochromatic
#04081A #04081A #0B1341 #142275 #1D32AA

Accessibility & contrast

On white

17.74
#0B1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0B1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B1341
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1341#FFFFFF#000000##FFFFFF
##0B13411.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0b1341;
/* rgb */ color: rgb(11, 19, 65);
/* oklch */ color: oklch(21.6% 0.087 269.7);
Tailwind
colors: {
  custom: {
    50: '#545076',
    500: '#0b1341',
    950: '#000000',
  },
}
SCSS
$custom: #0b1341;
$custom-light: #545076;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1341",
  "rgb": {
    "r": 11,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 231.111,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21555,
    "c": 0.08739,
    "h": 269.7
  },
  "luminance": 0.00919
}

Semantic roles & 50–950 ramp

primary
#0B1341
secondary
#7E712A
accent
#D33AEE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0B1341

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

Preview Lab → · Contrast checker → · Palette generator →

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