#213E89#213E89

#213E89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.130 H 264.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#213E89
RGBrgb(33, 62, 137)
HSLhsl(223, 61%, 33%)
HSVhsv(223, 76%, 54%)
CMYKcmyk(75.9%, 54.7%, 0%, 46.3%)
CIE-LABlab(28.31, 17.22, -45.04)
CIE-LCHlch(28.31, 48.22, 290.92°)
OKLaboklab(38.82% -0.0115 -0.1297)
OKLCHoklch(38.82% 0.13 264.9)
XYZxyz(6.8636, 5.5740, 24.3762)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E89 #896C21
analogous
#217289 #213E89 #382189
triadic
#213E89 #89213E #3E8921
tetradic
#213E89 #892172 #896C21 #218938
square
#213E89 #892172 #896C21 #218938
split-complementary
#213E89 #893821 #728921
monochromatic
#091126 #152858 #213E89 #2D54BA #5075D5

Accessibility & contrast

On white

9.93
#213E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#213E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E89
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E89#FFFFFF#000000##FFFFFF
##213E891.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06488C
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213e89;
/* rgb */ color: rgb(33, 62, 137);
/* oklch */ color: oklch(38.8% 0.130 264.9);
Tailwind
colors: {
  custom: {
    50: '#6c72ac',
    500: '#213e89',
    950: '#000000',
  },
}
SCSS
$custom: #213e89;
$custom-light: #6c72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#213e89",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 223.269,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38816,
    "c": 0.1302,
    "h": 264.9
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#213E89
secondary
#B89A4E
accent
#B744E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #213E89

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

Preview Lab → · Contrast checker → · Palette generator →

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