#213B91#213B91

#213B91 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.146 H 266.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#213B91
RGBrgb(33, 59, 145)
HSLhsl(226, 63%, 35%)
HSVhsv(226, 77%, 57%)
CMYKcmyk(77.2%, 59.3%, 0%, 43.1%)
CIE-LABlab(28.10, 22.45, -50.32)
CIE-LCHlch(28.10, 55.10, 294.04°)
OKLaboklab(38.86% -0.0086 -0.1453)
OKLCHoklch(38.86% 0.146 266.6)
XYZxyz(7.3002, 5.4948, 27.4584)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B91 #917721
analogous
#217391 #213B91 #3F2191
triadic
#213B91 #91213B #3B9121
tetradic
#213B91 #912173 #917721 #21913F
square
#213B91 #912173 #917721 #21913F
split-complementary
#213B91 #913F21 #739121
monochromatic
#0A122D #16275F #213B91 #2C4FC3 #5473D8

Accessibility & contrast

On white

10.00
#213B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213B91
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B91#FFFFFF#000000##FFFFFF
##213B911.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213b91;
/* rgb */ color: rgb(33, 59, 145);
/* oklch */ color: oklch(38.9% 0.146 266.6);
Tailwind
colors: {
  custom: {
    50: '#6e70b2',
    500: '#213b91',
    950: '#000000',
  },
}
SCSS
$custom: #213b91;
$custom-light: #6e70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#213b91",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 226.071,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38857,
    "c": 0.14551,
    "h": 266.6
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#213B91
secondary
#BCA352
accent
#C042E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213B91

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

Preview Lab → · Contrast checker → · Palette generator →

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