#214887#214887

#214887 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.114 H 259.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#214887
RGBrgb(33, 72, 135)
HSLhsl(217, 61%, 33%)
HSVhsv(217, 76%, 53%)
CMYKcmyk(75.6%, 46.7%, 0%, 47.1%)
CIE-LABlab(31.13, 9.55, -39.26)
CIE-LCHlch(31.13, 40.41, 283.67°)
OKLaboklab(40.92% -0.0207 -0.1125)
OKLCHoklch(40.92% 0.114 259.6)
XYZxyz(7.3162, 6.7065, 23.8259)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214887 #876021
analogous
#217B87 #214887 #2D2187
triadic
#214887 #872148 #488721
tetradic
#214887 #87217B #876021 #21872D
square
#214887 #87217B #876021 #21872D
split-complementary
#214887 #872D21 #7B8721
monochromatic
#091425 #152E56 #214887 #2D62B8 #4F82D4

Accessibility & contrast

On white

8.97
#214887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#214887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214887
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214887#FFFFFF#000000##FFFFFF
##2148871.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#124586
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #214887;
/* rgb */ color: rgb(33, 72, 135);
/* oklch */ color: oklch(40.9% 0.114 259.6);
Tailwind
colors: {
  custom: {
    50: '#6b7aaa',
    500: '#214887',
    950: '#000000',
  },
}
SCSS
$custom: #214887;
$custom-light: #6b7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#214887",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 217.059,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40925,
    "c": 0.11437,
    "h": 259.6
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#214887
secondary
#B78E4D
accent
#A744E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #214887

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

Preview Lab → · Contrast checker → · Palette generator →

#214887 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva