#0D214F#0D214F

#0D214F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.089 H 263.7°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#0D214F
RGBrgb(13, 33, 79)
HSLhsl(222, 72%, 18%)
HSVhsv(222, 84%, 31%)
CMYKcmyk(83.5%, 58.2%, 0%, 69%)
CIE-LABlab(14.05, 11.25, -30.61)
CIE-LCHlch(14.05, 32.62, 290.18°)
OKLaboklab(26.3% -0.0097 -0.0882)
OKLCHoklch(26.3% 0.089 263.7)
XYZxyz(2.1206, 1.7376, 7.6192)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D214F #4F3B0D
analogous
#0D424F #0D214F #1A0D4F
triadic
#0D214F #4F0D21 #214F0D
tetradic
#0D214F #4F0D42 #4F3B0D #0D4F1A
square
#0D214F #4F0D42 #4F3B0D #0D4F1A
split-complementary
#0D214F #4F1A0D #424F0D
monochromatic
#040B1A #040B1A #0D214F #163784 #1E4DB8

Accessibility & contrast

On white

15.58
#0D214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0D214F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D214F
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D214F#FFFFFF#000000##FFFFFF
##0D214F1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022751
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0d214f;
/* rgb */ color: rgb(13, 33, 79);
/* oklch */ color: oklch(26.3% 0.089 263.7);
Tailwind
colors: {
  custom: {
    50: '#575b81',
    500: '#0d214f',
    950: '#000000',
  },
}
SCSS
$custom: #0d214f;
$custom-light: #575b81;
$custom-dark: #000000;
JSON
{
  "hex": "#0d214f",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 221.818,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26297,
    "c": 0.08873,
    "h": 263.7
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#0D214F
secondary
#8A6E2E
accent
#B839EE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D214F

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

Preview Lab → · Contrast checker → · Palette generator →

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