#213B89#213B89

#213B89 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.134 H 266.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#213B89
RGBrgb(33, 59, 137)
HSLhsl(225, 61%, 33%)
HSVhsv(225, 76%, 54%)
CMYKcmyk(75.9%, 56.9%, 0%, 46.3%)
CIE-LABlab(27.45, 19.29, -46.43)
CIE-LCHlch(27.45, 50.28, 292.56°)
OKLaboklab(38.17% -0.009 -0.1338)
OKLCHoklch(38.17% 0.134 266.2)
XYZxyz(6.7049, 5.2567, 24.3233)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B89 #896F21
analogous
#216F89 #213B89 #3B2189
triadic
#213B89 #89213B #3B8921
tetradic
#213B89 #89216F #896F21 #21893B
square
#213B89 #89216F #896F21 #21893B
split-complementary
#213B89 #893B21 #6F8921
monochromatic
#091126 #152658 #213B89 #2D50BA #5071D5

Accessibility & contrast

On white

10.24
#213B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#213B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B89
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B89#FFFFFF#000000##FFFFFF
##213B891.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #213b89;
/* rgb */ color: rgb(33, 59, 137);
/* oklch */ color: oklch(38.2% 0.134 266.2);
Tailwind
colors: {
  custom: {
    50: '#6c70ac',
    500: '#213b89',
    950: '#000000',
  },
}
SCSS
$custom: #213b89;
$custom-light: #6c70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#213b89",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 225,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38169,
    "c": 0.13413,
    "h": 266.2
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#213B89
secondary
#B89D4E
accent
#BC44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #213B89

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

Preview Lab → · Contrast checker → · Palette generator →

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