#0D214A#0D214A

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

Color values

HEX#0D214A
RGBrgb(13, 33, 74)
HSLhsl(220, 70%, 17%)
HSVhsv(220, 82%, 29%)
CMYKcmyk(82.4%, 55.4%, 0%, 71%)
CIE-LABlab(13.64, 9.03, -27.85)
CIE-LCHlch(13.64, 29.28, 287.97°)
OKLaboklab(25.86% -0.0104 -0.08)
OKLCHoklch(25.86% 0.081 262.6)
XYZxyz(1.9454, 1.6675, 6.6966)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D214A #4A360D
analogous
#0D404A #0D214A #180D4A
triadic
#0D214A #4A0D21 #214A0D
tetradic
#0D214A #4A0D40 #4A360D #0D4A18
square
#0D214A #4A0D40 #4A360D #0D4A18
split-complementary
#0D214A #4A180D #404A0D
monochromatic
#050C1A #050C1A #0D214A #16387E #1F4FB2

Accessibility & contrast

On white

15.75
#0D214A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D214A
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D214A#FFFFFF#000000##FFFFFF
##0D214A1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d214a;
/* rgb */ color: rgb(13, 33, 74);
/* oklch */ color: oklch(25.9% 0.081 262.6);
Tailwind
colors: {
  custom: {
    50: '#565b7d',
    500: '#0d214a',
    950: '#000000',
  },
}
SCSS
$custom: #0d214a;
$custom-light: #565b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#0d214a",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 74
  },
  "hsl": {
    "h": 220.328,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25855,
    "c": 0.08072,
    "h": 262.6
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#0D214A
secondary
#85692E
accent
#B33BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #0D214A

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

Preview Lab → · Contrast checker → · Palette generator →

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