#213E87#213E87

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

Color values

HEX#213E87
RGBrgb(33, 62, 135)
HSLhsl(223, 61%, 33%)
HSVhsv(223, 76%, 53%)
CMYKcmyk(75.6%, 54.1%, 0%, 47.1%)
CIE-LABlab(28.16, 16.42, -44.05)
CIE-LCHlch(28.16, 47.01, 290.45°)
OKLaboklab(38.65% -0.0117 -0.1268)
OKLCHoklch(38.65% 0.127 264.7)
XYZxyz(6.7215, 5.5171, 23.6276)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E87 #876A21
analogous
#217187 #213E87 #372187
triadic
#213E87 #87213E #3E8721
tetradic
#213E87 #872171 #876A21 #218737
square
#213E87 #872171 #876A21 #218737
split-complementary
#213E87 #873721 #718721
monochromatic
#091125 #152756 #213E87 #2D55B8 #4F74D4

Accessibility & contrast

On white

9.98
#213E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#213E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E87
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E87#FFFFFF#000000##FFFFFF
##213E871.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B478A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213e87;
/* rgb */ color: rgb(33, 62, 135);
/* oklch */ color: oklch(38.7% 0.127 264.7);
Tailwind
colors: {
  custom: {
    50: '#6b72aa',
    500: '#213e87',
    950: '#000000',
  },
}
SCSS
$custom: #213e87;
$custom-light: #6b72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#213e87",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 222.941,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38653,
    "c": 0.1273,
    "h": 264.7
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#213E87
secondary
#B7994D
accent
#B644E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #213E87

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

Preview Lab → · Contrast checker → · Palette generator →

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