#213D89#213D89

#213D89 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.132 H 265.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#213D89
RGBrgb(33, 61, 137)
HSLhsl(224, 61%, 33%)
HSVhsv(224, 76%, 54%)
CMYKcmyk(75.9%, 55.5%, 0%, 46.3%)
CIE-LABlab(28.02, 17.91, -45.51)
CIE-LCHlch(28.02, 48.91, 291.48°)
OKLaboklab(38.6% -0.0106 -0.1311)
OKLCHoklch(38.6% 0.132 265.4)
XYZxyz(6.8097, 5.4662, 24.3583)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D89 #896D21
analogous
#217189 #213D89 #392189
triadic
#213D89 #89213D #3D8921
tetradic
#213D89 #892171 #896D21 #218939
square
#213D89 #892171 #896D21 #218939
split-complementary
#213D89 #893921 #718921
monochromatic
#091126 #152758 #213D89 #2D53BA #5073D5

Accessibility & contrast

On white

10.03
#213D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#213D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D89
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D89#FFFFFF#000000##FFFFFF
##213D891.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213d89;
/* rgb */ color: rgb(33, 61, 137);
/* oklch */ color: oklch(38.6% 0.132 265.4);
Tailwind
colors: {
  custom: {
    50: '#6c72ac',
    500: '#213d89',
    950: '#000000',
  },
}
SCSS
$custom: #213d89;
$custom-light: #6c72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#213d89",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 223.846,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38598,
    "c": 0.13151,
    "h": 265.4
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#213D89
secondary
#B89B4E
accent
#B944E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213D89

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

Preview Lab → · Contrast checker → · Palette generator →

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