#0B1545#0B1545

#0B1545 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.091 H 268.7°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#0B1545
RGBrgb(11, 21, 69)
HSLhsl(230, 73%, 16%)
HSVhsv(230, 84%, 27%)
CMYKcmyk(84.1%, 69.6%, 0%, 72.9%)
CIE-LABlab(9.30, 15.82, -31.43)
CIE-LCHlch(9.30, 35.19, 296.72°)
OKLaboklab(22.42% -0.0021 -0.0908)
OKLCHoklch(22.42% 0.091 268.7)
XYZxyz(1.4800, 1.0370, 5.7512)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1545 #453B0B
analogous
#0B3245 #0B1545 #1E0B45
triadic
#0B1545 #450B15 #15450B
tetradic
#0B1545 #450B32 #453B0B #0B451E
square
#0B1545 #450B32 #453B0B #0B451E
split-complementary
#0B1545 #451E0B #32450B
monochromatic
#04081A #04081A #0B1545 #13257A #1C35AF

Accessibility & contrast

On white

17.39
#0B1545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1545
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1545#FFFFFF#000000##FFFFFF
##0B15451.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001744
Tritanopia (blue-blind)
#00212A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b1545;
/* rgb */ color: rgb(11, 21, 69);
/* oklch */ color: oklch(22.4% 0.091 268.7);
Tailwind
colors: {
  custom: {
    50: '#555279',
    500: '#0b1545',
    950: '#000000',
  },
}
SCSS
$custom: #0b1545;
$custom-light: #555279;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1545",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 229.655,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22422,
    "c": 0.09085,
    "h": 268.7
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#0B1545
secondary
#81722A
accent
#D039EF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0B1545

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

Preview Lab → · Contrast checker → · Palette generator →

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