#214D98#214D98

#214D98 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.132 H 260.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#214D98
RGBrgb(33, 77, 152)
HSLhsl(218, 64%, 36%)
HSVhsv(218, 78%, 60%)
CMYKcmyk(78.3%, 49.3%, 0%, 40.4%)
CIE-LABlab(33.77, 12.93, -45.41)
CIE-LCHlch(33.77, 47.22, 285.89°)
OKLaboklab(43.32% -0.0222 -0.1305)
OKLCHoklch(43.32% 0.132 260.4)
XYZxyz(8.9465, 7.8971, 30.7524)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214D98 #986C21
analogous
#218998 #214D98 #312198
triadic
#214D98 #98214D #4D9821
tetradic
#214D98 #982189 #986C21 #219831
square
#214D98 #982189 #986C21 #219831
split-complementary
#214D98 #983121 #899821
monochromatic
#0B1A33 #163466 #214D98 #2C66CA #5989DB

Accessibility & contrast

On white

8.14
#214D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#214D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214D98
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214D98#FFFFFF#000000##FFFFFF
##214D981.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559B
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #214d98;
/* rgb */ color: rgb(33, 77, 152);
/* oklch */ color: oklch(43.3% 0.132 260.4);
Tailwind
colors: {
  custom: {
    50: '#6f7eb7',
    500: '#214d98',
    950: '#000000',
  },
}
SCSS
$custom: #214d98;
$custom-light: #6f7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#214d98",
  "rgb": {
    "r": 33,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 217.815,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.13237,
    "h": 260.4
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#214D98
secondary
#BF9856
accent
#AA40E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #214D98

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

Preview Lab → · Contrast checker → · Palette generator →

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