#214799#214799

#214799 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.141 H 263.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#214799
RGBrgb(33, 71, 153)
HSLhsl(221, 65%, 36%)
HSVhsv(221, 78%, 60%)
CMYKcmyk(78.4%, 53.6%, 0%, 40%)
CIE-LABlab(32.10, 17.39, -48.72)
CIE-LCHlch(32.10, 51.73, 289.65°)
OKLaboklab(42.07% -0.0172 -0.1403)
OKLCHoklch(42.07% 0.141 263)
XYZxyz(8.6282, 7.1287, 31.0521)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214799 #997321
analogous
#218399 #214799 #372199
triadic
#214799 #992147 #479921
tetradic
#214799 #992183 #997321 #219937
square
#214799 #992183 #997321 #219937
split-complementary
#214799 #993721 #839921
monochromatic
#0B1834 #163067 #214799 #2C5ECB #5982DB

Accessibility & contrast

On white

8.66
#214799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#214799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214799
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214799#FFFFFF#000000##FFFFFF
##2147991.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B519C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #214799;
/* rgb */ color: rgb(33, 71, 153);
/* oklch */ color: oklch(42.1% 0.141 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f79b8',
    500: '#214799',
    950: '#000000',
  },
}
SCSS
$custom: #214799;
$custom-light: #6f79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#214799",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 153
  },
  "hsl": {
    "h": 221,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4207,
    "c": 0.14138,
    "h": 263
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#214799
secondary
#BF9E56
accent
#B340E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #214799

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

Preview Lab → · Contrast checker → · Palette generator →

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