#214797#214797

#214797 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.139 H 262.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#214797
RGBrgb(33, 71, 151)
HSLhsl(221, 64%, 36%)
HSVhsv(221, 78%, 59%)
CMYKcmyk(78.1%, 53%, 0%, 40.8%)
CIE-LABlab(31.95, 16.60, -47.74)
CIE-LCHlch(31.95, 50.55, 289.17°)
OKLaboklab(41.91% -0.0174 -0.1375)
OKLCHoklch(41.91% 0.139 262.8)
XYZxyz(8.4644, 7.0632, 30.1894)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214797 #977121
analogous
#218297 #214797 #362197
triadic
#214797 #972147 #479721
tetradic
#214797 #972182 #977121 #219736
square
#214797 #972182 #977121 #219736
split-complementary
#214797 #973621 #829721
monochromatic
#0B1833 #162F65 #214797 #2C5FC9 #5882DA

Accessibility & contrast

On white

8.70
#214797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#214797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214797
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214797#FFFFFF#000000##FFFFFF
##2147971.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #214797;
/* rgb */ color: rgb(33, 71, 151);
/* oklch */ color: oklch(41.9% 0.139 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f79b6',
    500: '#214797',
    950: '#000000',
  },
}
SCSS
$custom: #214797;
$custom-light: #6f79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#214797",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 220.678,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.13855,
    "h": 262.8
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#214797
secondary
#BE9D55
accent
#B241E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #214797

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

Preview Lab → · Contrast checker → · Palette generator →

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