#213A96#213A96

#213A96 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.154 H 267.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#213A96
RGBrgb(33, 58, 150)
HSLhsl(227, 64%, 36%)
HSVhsv(227, 78%, 59%)
CMYKcmyk(78%, 61.3%, 0%, 41.2%)
CIE-LABlab(28.25, 25.09, -53.15)
CIE-LCHlch(28.25, 58.77, 295.27°)
OKLaboklab(39.1% -0.0078 -0.1536)
OKLCHoklch(39.1% 0.154 267.1)
XYZxyz(7.6434, 5.5506, 29.5168)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A96 #967D21
analogous
#217496 #213A96 #422196
triadic
#213A96 #96213A #3A9621
tetradic
#213A96 #962174 #967D21 #219642
square
#213A96 #962174 #967D21 #219642
split-complementary
#213A96 #964221 #749621
monochromatic
#0B1332 #162764 #213A96 #2C4DC8 #5773DA

Accessibility & contrast

On white

9.95
#213A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#213A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A96
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A96#FFFFFF#000000##FFFFFF
##213A961.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213a96;
/* rgb */ color: rgb(33, 58, 150);
/* oklch */ color: oklch(39.1% 0.154 267.1);
Tailwind
colors: {
  custom: {
    50: '#6f6fb6',
    500: '#213a96',
    950: '#000000',
  },
}
SCSS
$custom: #213a96;
$custom-light: #6f6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#213a96",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 227.179,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.15377,
    "h": 267.1
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#213A96
secondary
#BEA855
accent
#C341E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213A96

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

Preview Lab → · Contrast checker → · Palette generator →

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