#0D214C#0D214C

#0D214C is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.084 H 263.1°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#0D214C
RGBrgb(13, 33, 76)
HSLhsl(221, 71%, 17%)
HSVhsv(221, 83%, 30%)
CMYKcmyk(82.9%, 56.6%, 0%, 70.2%)
CIE-LABlab(13.80, 9.92, -28.96)
CIE-LCHlch(13.80, 30.62, 288.91°)
OKLaboklab(26.03% -0.0101 -0.0833)
OKLCHoklch(26.03% 0.084 263.1)
XYZxyz(2.0139, 1.6949, 7.0571)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D214C #4C380D
analogous
#0D414C #0D214C #180D4C
triadic
#0D214C #4C0D21 #214C0D
tetradic
#0D214C #4C0D41 #4C380D #0D4C18
square
#0D214C #4C0D41 #4C380D #0D4C18
split-complementary
#0D214C #4C180D #414C0D
monochromatic
#040B1A #040B1A #0D214C #163880 #1F4EB5

Accessibility & contrast

On white

15.68
#0D214C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D214C
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D214C#FFFFFF#000000##FFFFFF
##0D214C1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06264E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0d214c;
/* rgb */ color: rgb(13, 33, 76);
/* oklch */ color: oklch(26.0% 0.084 263.1);
Tailwind
colors: {
  custom: {
    50: '#575b7e',
    500: '#0d214c',
    950: '#000000',
  },
}
SCSS
$custom: #0d214c;
$custom-light: #575b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0d214c",
  "rgb": {
    "r": 13,
    "g": 33,
    "b": 76
  },
  "hsl": {
    "h": 220.952,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2603,
    "c": 0.08394,
    "h": 263.1
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#0D214C
secondary
#876B2E
accent
#B53AEE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0D214C

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

Preview Lab → · Contrast checker → · Palette generator →

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