#214F97#214F97

#214F97 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.7% C 0.128 H 259.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#214F97
RGBrgb(33, 79, 151)
HSLhsl(217, 64%, 36%)
HSVhsv(217, 78%, 59%)
CMYKcmyk(78.1%, 47.7%, 0%, 40.8%)
CIE-LABlab(34.29, 11.19, -43.97)
CIE-LCHlch(34.29, 45.37, 284.28°)
OKLaboklab(43.7% -0.024 -0.1262)
OKLCHoklch(43.7% 0.128 259.2)
XYZxyz(9.0071, 8.1486, 30.3703)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214F97 #976921
analogous
#218A97 #214F97 #2E2197
triadic
#214F97 #97214F #4F9721
tetradic
#214F97 #97218A #976921 #21972E
square
#214F97 #97218A #976921 #21972E
split-complementary
#214F97 #972E21 #8A9721
monochromatic
#0B1A33 #163565 #214F97 #2C69C9 #588BDA

Accessibility & contrast

On white

7.98
#214F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#214F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214F97
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214F97#FFFFFF#000000##FFFFFF
##214F971.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#084C96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #214f97;
/* rgb */ color: rgb(33, 79, 151);
/* oklch */ color: oklch(43.7% 0.128 259.2);
Tailwind
colors: {
  custom: {
    50: '#6e7fb6',
    500: '#214f97',
    950: '#000000',
  },
}
SCSS
$custom: #214f97;
$custom-light: #6e7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#214f97",
  "rgb": {
    "r": 33,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 216.61,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.12847,
    "h": 259.2
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#214F97
secondary
#BE9555
accent
#A641E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #214F97

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

Preview Lab → · Contrast checker → · Palette generator →

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