#214F98#214F98

#214F98 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.130 H 259.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#214F98
RGBrgb(33, 79, 152)
HSLhsl(217, 64%, 36%)
HSVhsv(217, 78%, 60%)
CMYKcmyk(78.3%, 48%, 0%, 40.4%)
CIE-LABlab(34.36, 11.58, -44.47)
CIE-LCHlch(34.36, 45.95, 284.60°)
OKLaboklab(43.78% -0.0238 -0.1277)
OKLCHoklch(43.78% 0.13 259.4)
XYZxyz(9.0886, 8.1812, 30.7998)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214F98 #986A21
analogous
#218B98 #214F98 #2F2198
triadic
#214F98 #98214F #4F9821
tetradic
#214F98 #98218B #986A21 #21982F
square
#214F98 #98218B #986A21 #21982F
split-complementary
#214F98 #982F21 #8B9821
monochromatic
#0B1B33 #163566 #214F98 #2C69CA #598BDB

Accessibility & contrast

On white

7.97
#214F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#214F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214F98
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214F98#FFFFFF#000000##FFFFFF
##214F981.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#044C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #214f98;
/* rgb */ color: rgb(33, 79, 152);
/* oklch */ color: oklch(43.8% 0.130 259.4);
Tailwind
colors: {
  custom: {
    50: '#6f7fb7',
    500: '#214f98',
    950: '#000000',
  },
}
SCSS
$custom: #214f98;
$custom-light: #6f7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#214f98",
  "rgb": {
    "r": 33,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 216.807,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43775,
    "c": 0.12987,
    "h": 259.4
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#214F98
secondary
#BF9656
accent
#A740E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #214F98

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

Preview Lab → · Contrast checker → · Palette generator →

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