#0E214F#0E214F

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

Color values

HEX#0E214F
RGBrgb(14, 33, 79)
HSLhsl(222, 70%, 18%)
HSVhsv(222, 82%, 31%)
CMYKcmyk(82.3%, 58.2%, 0%, 69%)
CIE-LABlab(14.09, 11.39, -30.54)
CIE-LCHlch(14.09, 32.60, 290.46°)
OKLaboklab(26.34% -0.0088 -0.0879)
OKLCHoklch(26.34% 0.088 264.3)
XYZxyz(2.1357, 1.7454, 7.6199)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E214F #4F3C0E
analogous
#0E414F #0E214F #1C0E4F
triadic
#0E214F #4F0E21 #214F0E
tetradic
#0E214F #4F0E41 #4F3C0E #0E4F1C
square
#0E214F #4F0E41 #4F3C0E #0E4F1C
split-complementary
#0E214F #4F1C0E #414F0E
monochromatic
#050B1A #050B1B #0E214F #173783 #204CB7

Accessibility & contrast

On white

15.56
#0E214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E214F
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E214F#FFFFFF#000000##FFFFFF
##0E214F1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.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: #0e214f;
/* rgb */ color: rgb(14, 33, 79);
/* oklch */ color: oklch(26.3% 0.088 264.3);
Tailwind
colors: {
  custom: {
    50: '#585b81',
    500: '#0e214f',
    950: '#000000',
  },
}
SCSS
$custom: #0e214f;
$custom-light: #585b81;
$custom-dark: #000000;
JSON
{
  "hex": "#0e214f",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 222.462,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26344,
    "c": 0.08839,
    "h": 264.3
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#0E214F
secondary
#8A6F2F
accent
#B93BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E214F

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

Preview Lab → · Contrast checker → · Palette generator →

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