#213591#213591

#213591 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.153 H 268.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#213591
RGBrgb(33, 53, 145)
HSLhsl(229, 63%, 35%)
HSVhsv(229, 77%, 57%)
CMYKcmyk(77.2%, 63.4%, 0%, 43.1%)
CIE-LABlab(26.49, 26.55, -52.96)
CIE-LCHlch(26.49, 59.24, 296.63°)
OKLaboklab(37.66% -0.0043 -0.1531)
OKLCHoklch(37.66% 0.153 268.4)
XYZxyz(7.0094, 4.9131, 27.3615)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213591 #917D21
analogous
#216D91 #213591 #452191
triadic
#213591 #912135 #359121
tetradic
#213591 #91216D #917D21 #219145
square
#213591 #91216D #917D21 #219145
split-complementary
#213591 #914521 #6D9121
monochromatic
#0A112D #16235F #213591 #2C47C3 #546CD8

Accessibility & contrast

On white

10.59
#213591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#213591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213591
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213591#FFFFFF#000000##FFFFFF
##2135911.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213591;
/* rgb */ color: rgb(33, 53, 145);
/* oklch */ color: oklch(37.7% 0.153 268.4);
Tailwind
colors: {
  custom: {
    50: '#6f6cb2',
    500: '#213591',
    950: '#000000',
  },
}
SCSS
$custom: #213591;
$custom-light: #6f6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#213591",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 229.286,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37656,
    "c": 0.15313,
    "h": 268.4
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#213591
secondary
#BCA952
accent
#C942E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #213591

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

Preview Lab → · Contrast checker → · Palette generator →

#213591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva