#0E214E#0E214E

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

Color values

HEX#0E214E
RGBrgb(14, 33, 78)
HSLhsl(222, 70%, 18%)
HSVhsv(222, 82%, 31%)
CMYKcmyk(82.1%, 57.7%, 0%, 69.4%)
CIE-LABlab(14.01, 10.95, -29.99)
CIE-LCHlch(14.01, 31.93, 290.06°)
OKLaboklab(26.25% -0.009 -0.0863)
OKLCHoklch(26.25% 0.087 264.1)
XYZxyz(2.0996, 1.7309, 7.4297)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E214E #4E3B0E
analogous
#0E414E #0E214E #1B0E4E
triadic
#0E214E #4E0E21 #214E0E
tetradic
#0E214E #4E0E41 #4E3B0E #0E4E1B
square
#0E214E #4E0E41 #4E3B0E #0E4E1B
split-complementary
#0E214E #4E1B0E #414E0E
monochromatic
#050B1A #050B1A #0E214E #173782 #214DB6

Accessibility & contrast

On white

15.60
#0E214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E214E
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E214E#FFFFFF#000000##FFFFFF
##0E214E1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042750
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0e214e;
/* rgb */ color: rgb(14, 33, 78);
/* oklch */ color: oklch(26.3% 0.087 264.1);
Tailwind
colors: {
  custom: {
    50: '#575b80',
    500: '#0e214e',
    950: '#000000',
  },
}
SCSS
$custom: #0e214e;
$custom-light: #575b80;
$custom-dark: #000000;
JSON
{
  "hex": "#0e214e",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 222.188,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26254,
    "c": 0.08679,
    "h": 264.1
  },
  "luminance": 0.01731
}

Semantic roles & 50–950 ramp

primary
#0E214E
secondary
#896E2F
accent
#B83BEC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E214E

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

Preview Lab → · Contrast checker → · Palette generator →

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