#0B214A#0B214A

#0B214A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.081 H 261.5°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#0B214A
RGBrgb(11, 33, 74)
HSLhsl(219, 74%, 17%)
HSVhsv(219, 85%, 29%)
CMYKcmyk(85.1%, 55.4%, 0%, 71%)
CIE-LABlab(13.55, 8.74, -27.99)
CIE-LCHlch(13.55, 29.33, 287.35°)
OKLaboklab(25.77% -0.0121 -0.0805)
OKLCHoklch(25.77% 0.081 261.5)
XYZxyz(1.9175, 1.6531, 6.6953)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B214A #4A340B
analogous
#0B414A #0B214A #150B4A
triadic
#0B214A #4A0B21 #214A0B
tetradic
#0B214A #4A0B41 #4A340B #0B4A15
square
#0B214A #4A0B41 #4A340B #0B4A15
split-complementary
#0B214A #4A150B #414A0B
monochromatic
#040C1B #040C1B #0B214A #13397F #1B51B5

Accessibility & contrast

On white

15.78
#0B214A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0B214A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B214A
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B214A#FFFFFF#000000##FFFFFF
##0B214A1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264B
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0b214a;
/* rgb */ color: rgb(11, 33, 74);
/* oklch */ color: oklch(25.8% 0.081 261.5);
Tailwind
colors: {
  custom: {
    50: '#555b7d',
    500: '#0b214a',
    950: '#000000',
  },
}
SCSS
$custom: #0b214a;
$custom-light: #555b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b214a",
  "rgb": {
    "r": 11,
    "g": 33,
    "b": 74
  },
  "hsl": {
    "h": 219.048,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25766,
    "c": 0.08141,
    "h": 261.5
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#0B214A
secondary
#86662B
accent
#B037F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0B214A

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

Preview Lab → · Contrast checker → · Palette generator →

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