#0D214D#0D214D

#0D214D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.086 H 263.3°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#0D214D
RGBrgb(13, 33, 77)
HSLhsl(221, 71%, 18%)
HSVhsv(221, 83%, 30%)
CMYKcmyk(83.1%, 57.1%, 0%, 69.8%)
CIE-LABlab(13.88, 10.37, -29.52)
CIE-LCHlch(13.88, 31.28, 289.35°)
OKLaboklab(26.12% -0.01 -0.085)
OKLCHoklch(26.12% 0.086 263.3)
XYZxyz(2.0489, 1.7089, 7.2416)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D214D #4D390D
analogous
#0D414D #0D214D #190D4D
triadic
#0D214D #4D0D21 #214D0D
tetradic
#0D214D #4D0D41 #4D390D #0D4D19
square
#0D214D #4D0D41 #4D390D #0D4D19
split-complementary
#0D214D #4D190D #414D0D
monochromatic
#040B1A #040B1A #0D214D #163781 #1F4EB6

Accessibility & contrast

On white

15.65
#0D214D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D214D
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D214D#FFFFFF#000000##FFFFFF
##0D214D1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05264F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d214d;
/* rgb */ color: rgb(13, 33, 77);
/* oklch */ color: oklch(26.1% 0.086 263.3);
Tailwind
colors: {
  custom: {
    50: '#575b7f',
    500: '#0d214d',
    950: '#000000',
  },
}
SCSS
$custom: #0d214d;
$custom-light: #575b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0d214d",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 77
  },
  "hsl": {
    "h": 221.25,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26118,
    "c": 0.08554,
    "h": 263.3
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#0D214D
secondary
#886C2E
accent
#B63AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0D214D

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

Preview Lab → · Contrast checker → · Palette generator →

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