#214987#214987

#214987 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.113 H 259.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#214987
RGBrgb(33, 73, 135)
HSLhsl(216, 61%, 33%)
HSVhsv(216, 76%, 53%)
CMYKcmyk(75.6%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.43, 8.87, -38.78)
CIE-LCHlch(31.43, 39.78, 282.89°)
OKLaboklab(41.16% -0.0216 -0.111)
OKLCHoklch(41.16% 0.113 259)
XYZxyz(7.3813, 6.8369, 23.8476)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214987 #875F21
analogous
#217C87 #214987 #2C2187
triadic
#214987 #872149 #498721
tetradic
#214987 #87217C #875F21 #21872C
square
#214987 #87217C #875F21 #21872C
split-complementary
#214987 #872C21 #7C8721
monochromatic
#091425 #152E56 #214987 #2D64B8 #4F83D4

Accessibility & contrast

On white

8.87
#214987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#214987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214987
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214987#FFFFFF#000000##FFFFFF
##2149871.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F89
Deuteranopia (green-blind)
#154686
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #214987;
/* rgb */ color: rgb(33, 73, 135);
/* oklch */ color: oklch(41.2% 0.113 259.0);
Tailwind
colors: {
  custom: {
    50: '#6b7baa',
    500: '#214987',
    950: '#000000',
  },
}
SCSS
$custom: #214987;
$custom-light: #6b7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#214987",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 216.471,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41159,
    "c": 0.11312,
    "h": 259
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#214987
secondary
#B78D4D
accent
#A544E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #214987

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

Preview Lab → · Contrast checker → · Palette generator →

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