#0D214B#0D214B

#0D214B is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.082 H 262.8°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#0D214B
RGBrgb(13, 33, 75)
HSLhsl(221, 70%, 17%)
HSVhsv(221, 83%, 29%)
CMYKcmyk(82.7%, 56%, 0%, 70.6%)
CIE-LABlab(13.72, 9.48, -28.41)
CIE-LCHlch(13.72, 29.95, 288.45°)
OKLaboklab(25.94% -0.0102 -0.0817)
OKLCHoklch(25.94% 0.082 262.8)
XYZxyz(1.9794, 1.6811, 6.8754)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D214B #4B370D
analogous
#0D404B #0D214B #180D4B
triadic
#0D214B #4B0D21 #214B0D
tetradic
#0D214B #4B0D40 #4B370D #0D4B18
square
#0D214B #4B0D40 #4B370D #0D4B18
split-complementary
#0D214B #4B180D #404B0D
monochromatic
#050B1A #050B1A #0D214B #16387F #1F4FB3

Accessibility & contrast

On white

15.72
#0D214B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0D214B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D214B
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D214B#FFFFFF#000000##FFFFFF
##0D214B1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07264D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d214b;
/* rgb */ color: rgb(13, 33, 75);
/* oklch */ color: oklch(25.9% 0.082 262.8);
Tailwind
colors: {
  custom: {
    50: '#565b7e',
    500: '#0d214b',
    950: '#000000',
  },
}
SCSS
$custom: #0d214b;
$custom-light: #565b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d214b",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 75
  },
  "hsl": {
    "h": 220.645,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25942,
    "c": 0.08233,
    "h": 262.8
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#0D214B
secondary
#866A2E
accent
#B43BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D214B

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

Preview Lab → · Contrast checker → · Palette generator →

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