#213A91#213A91

#213A91 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.147 H 266.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#213A91
RGBrgb(33, 58, 145)
HSLhsl(227, 63%, 35%)
HSVhsv(227, 77%, 57%)
CMYKcmyk(77.2%, 60%, 0%, 43.1%)
CIE-LABlab(27.83, 23.14, -50.77)
CIE-LCHlch(27.83, 55.79, 294.50°)
OKLaboklab(38.65% -0.0079 -0.1466)
OKLCHoklch(38.65% 0.147 266.9)
XYZxyz(7.2493, 5.3930, 27.4415)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A91 #917821
analogous
#217291 #213A91 #402191
triadic
#213A91 #91213A #3A9121
tetradic
#213A91 #912172 #917821 #219140
square
#213A91 #912172 #917821 #219140
split-complementary
#213A91 #914021 #729121
monochromatic
#0A122D #16265F #213A91 #2C4EC3 #5472D8

Accessibility & contrast

On white

10.10
#213A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#213A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A91
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A91#FFFFFF#000000##FFFFFF
##213A911.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #213a91;
/* rgb */ color: rgb(33, 58, 145);
/* oklch */ color: oklch(38.7% 0.147 266.9);
Tailwind
colors: {
  custom: {
    50: '#6e6fb2',
    500: '#213a91',
    950: '#000000',
  },
}
SCSS
$custom: #213a91;
$custom-light: #6e6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#213a91",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 226.607,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38652,
    "c": 0.1468,
    "h": 266.9
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#213A91
secondary
#BCA452
accent
#C142E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213A91

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

Preview Lab → · Contrast checker → · Palette generator →

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