#213E72#213E72

#213E72 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.096 H 261.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#213E72
RGBrgb(33, 62, 114)
HSLhsl(219, 55%, 29%)
HSVhsv(219, 71%, 45%)
CMYKcmyk(71.1%, 45.6%, 0%, 55.3%)
CIE-LABlab(26.69, 8.06, -33.23)
CIE-LCHlch(26.69, 34.20, 283.63°)
OKLaboklab(37.05% -0.0149 -0.095)
OKLCHoklch(37.05% 0.096 261.1)
XYZxyz(5.3860, 4.9829, 16.5943)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E72 #725521
analogous
#216772 #213E72 #2D2172
triadic
#213E72 #72213E #3E7221
tetradic
#213E72 #722167 #725521 #21722D
square
#213E72 #722167 #725521 #21722D
split-complementary
#213E72 #722D21 #677221
monochromatic
#070D18 #132443 #213E72 #2F58A1 #4474C9

Accessibility & contrast

On white

10.52
#213E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#213E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E72
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E72#FFFFFF#000000##FFFFFF
##213E721.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#173C71
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213e72;
/* rgb */ color: rgb(33, 62, 114);
/* oklch */ color: oklch(37.1% 0.096 261.1);
Tailwind
colors: {
  custom: {
    50: '#67729b',
    500: '#213e72',
    950: '#000000',
  },
}
SCSS
$custom: #213e72;
$custom-light: #67729b;
$custom-dark: #000000;
JSON
{
  "hex": "#213e72",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 218.519,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37054,
    "c": 0.09611,
    "h": 261.1
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#213E72
secondary
#A58449
accent
#A949DE
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #213E72

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

Preview Lab → · Contrast checker → · Palette generator →

#213E72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva