#214D8E#214D8E

#214D8E is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.118 H 258.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#214D8E
RGBrgb(33, 77, 142)
HSLhsl(216, 62%, 34%)
HSVhsv(216, 77%, 56%)
CMYKcmyk(76.8%, 45.8%, 0%, 44.3%)
CIE-LABlab(33.10, 8.96, -40.40)
CIE-LCHlch(33.10, 41.38, 282.50°)
OKLaboklab(42.59% -0.0239 -0.1157)
OKLCHoklch(42.59% 0.118 258.3)
XYZxyz(8.1618, 7.5832, 26.6195)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214D8E #8E6221
analogous
#21848E #214D8E #2C218E
triadic
#214D8E #8E214D #4D8E21
tetradic
#214D8E #8E2184 #8E6221 #218E2C
square
#214D8E #8E2184 #8E6221 #218E2C
split-complementary
#214D8E #8E2C21 #848E21
monochromatic
#0A172B #15325C #214D8E #2D68C0 #5288D7

Accessibility & contrast

On white

8.34
#214D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#214D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214D8E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214D8E#FFFFFF#000000##FFFFFF
##214D8E1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#16498D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #214d8e;
/* rgb */ color: rgb(33, 77, 142);
/* oklch */ color: oklch(42.6% 0.118 258.3);
Tailwind
colors: {
  custom: {
    50: '#6c7eaf',
    500: '#214d8e',
    950: '#000000',
  },
}
SCSS
$custom: #214d8e;
$custom-light: #6c7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#214d8e",
  "rgb": {
    "r": 33,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 215.78,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42592,
    "c": 0.1182,
    "h": 258.3
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#214D8E
secondary
#BA9050
accent
#A442E5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #214D8E

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

Preview Lab → · Contrast checker → · Palette generator →

#214D8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva