#0B1547#0B1547

#0B1547 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.094 H 268.7°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#0B1547
RGBrgb(11, 21, 71)
HSLhsl(230, 73%, 16%)
HSVhsv(230, 85%, 28%)
CMYKcmyk(84.5%, 70.4%, 0%, 72.2%)
CIE-LABlab(9.50, 16.70, -32.50)
CIE-LCHlch(9.50, 36.53, 297.19°)
OKLaboklab(22.64% -0.0021 -0.094)
OKLCHoklch(22.64% 0.094 268.7)
XYZxyz(1.5431, 1.0622, 6.0837)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B1547 #473D0B
analogous
#0B3347 #0B1547 #1F0B47
triadic
#0B1547 #470B15 #15470B
tetradic
#0B1547 #470B33 #473D0B #0B471F
square
#0B1547 #470B33 #473D0B #0B471F
split-complementary
#0B1547 #471F0B #33470B
monochromatic
#04081A #04081A #0B1547 #13257C #1B34B1

Accessibility & contrast

On white

17.32
#0B1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B1547
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B1547#FFFFFF#000000##FFFFFF
##0B15471.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001846
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0b1547;
/* rgb */ color: rgb(11, 21, 71);
/* oklch */ color: oklch(22.6% 0.094 268.7);
Tailwind
colors: {
  custom: {
    50: '#55527b',
    500: '#0b1547',
    950: '#000000',
  },
}
SCSS
$custom: #0b1547;
$custom-light: #55527b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b1547",
  "rgb": {
    "r": 11,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 230,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22635,
    "c": 0.09398,
    "h": 268.7
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#0B1547
secondary
#83752A
accent
#D138F0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #0B1547

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

Preview Lab → · Contrast checker → · Palette generator →

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