#214171#214171

#214171 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.091 H 258.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#214171
RGBrgb(33, 65, 113)
HSLhsl(216, 55%, 29%)
HSVhsv(216, 71%, 44%)
CMYKcmyk(70.8%, 42.5%, 0%, 55.7%)
CIE-LABlab(27.56, 5.60, -31.20)
CIE-LCHlch(27.56, 31.70, 280.17°)
OKLaboklab(37.71% -0.0183 -0.0889)
OKLCHoklch(37.71% 0.091 258.4)
XYZxyz(5.4971, 5.2956, 16.3520)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214171 #715121
analogous
#216971 #214171 #292171
triadic
#214171 #712141 #417121
tetradic
#214171 #712169 #715121 #217129
square
#214171 #712169 #715121 #217129
split-complementary
#214171 #712921 #697121
monochromatic
#070E18 #132642 #214171 #2F5CA0 #4479C8

Accessibility & contrast

On white

10.20
#214171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#214171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214171
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214171#FFFFFF#000000##FFFFFF
##2141711.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#1F3E70
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #214171;
/* rgb */ color: rgb(33, 65, 113);
/* oklch */ color: oklch(37.7% 0.091 258.4);
Tailwind
colors: {
  custom: {
    50: '#66759a',
    500: '#214171',
    950: '#000000',
  },
}
SCSS
$custom: #214171;
$custom-light: #66759a;
$custom-dark: #000000;
JSON
{
  "hex": "#214171",
  "rgb": {
    "r": 33,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 216,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.09081,
    "h": 258.4
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#214171
secondary
#A58049
accent
#A34ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #214171

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

Preview Lab → · Contrast checker → · Palette generator →

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