#213E88#213E88

#213E88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.129 H 264.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#213E88
RGBrgb(33, 62, 136)
HSLhsl(223, 61%, 33%)
HSVhsv(223, 76%, 53%)
CMYKcmyk(75.7%, 54.4%, 0%, 46.7%)
CIE-LABlab(28.24, 16.82, -44.55)
CIE-LCHlch(28.24, 47.62, 290.69°)
OKLaboklab(38.73% -0.0116 -0.1282)
OKLCHoklch(38.73% 0.129 264.8)
XYZxyz(6.7922, 5.5454, 24.0002)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E88 #886B21
analogous
#217188 #213E88 #372188
triadic
#213E88 #88213E #3E8821
tetradic
#213E88 #882171 #886B21 #218837
square
#213E88 #882171 #886B21 #218837
split-complementary
#213E88 #883721 #718821
monochromatic
#091125 #152857 #213E88 #2D54B9 #4F75D4

Accessibility & contrast

On white

9.96
#213E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#213E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E88
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E88#FFFFFF#000000##FFFFFF
##213E881.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09488B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213e88;
/* rgb */ color: rgb(33, 62, 136);
/* oklch */ color: oklch(38.7% 0.129 264.8);
Tailwind
colors: {
  custom: {
    50: '#6c72ab',
    500: '#213e88',
    950: '#000000',
  },
}
SCSS
$custom: #213e88;
$custom-light: #6c72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#213e88",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 223.107,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38734,
    "c": 0.12875,
    "h": 264.8
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213E88

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

Preview Lab → · Contrast checker → · Palette generator →

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