#214271#214271

#214271 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.090 H 257.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#214271
RGBrgb(33, 66, 113)
HSLhsl(215, 55%, 29%)
HSVhsv(215, 71%, 44%)
CMYKcmyk(70.8%, 41.6%, 0%, 55.7%)
CIE-LABlab(27.88, 4.92, -30.70)
CIE-LCHlch(27.88, 31.09, 279.10°)
OKLaboklab(37.96% -0.0194 -0.0874)
OKLCHoklch(37.96% 0.09 257.5)
XYZxyz(5.5550, 5.4115, 16.3713)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214271 #715021
analogous
#216A71 #214271 #282171
triadic
#214271 #712142 #427121
tetradic
#214271 #71216A #715021 #217128
square
#214271 #71216A #715021 #217128
split-complementary
#214271 #712821 #6A7121
monochromatic
#070E18 #132642 #214271 #2F5EA0 #447BC8

Accessibility & contrast

On white

10.08
#214271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#214271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214271
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214271#FFFFFF#000000##FFFFFF
##2142711.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#213E70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #214271;
/* rgb */ color: rgb(33, 66, 113);
/* oklch */ color: oklch(38.0% 0.090 257.5);
Tailwind
colors: {
  custom: {
    50: '#66769a',
    500: '#214271',
    950: '#000000',
  },
}
SCSS
$custom: #214271;
$custom-light: #66769a;
$custom-dark: #000000;
JSON
{
  "hex": "#214271",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 215.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37955,
    "c": 0.08957,
    "h": 257.5
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#214271
secondary
#A57F49
accent
#A14ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #214271

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

Preview Lab → · Contrast checker → · Palette generator →

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