#213996#213996

#213996 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.155 H 267.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#213996
RGBrgb(33, 57, 150)
HSLhsl(228, 64%, 36%)
HSVhsv(228, 78%, 59%)
CMYKcmyk(78%, 62%, 0%, 41.2%)
CIE-LABlab(27.98, 25.77, -53.58)
CIE-LCHlch(27.98, 59.46, 295.68°)
OKLaboklab(38.9% -0.0071 -0.1549)
OKLCHoklch(38.9% 0.155 267.4)
XYZxyz(7.5934, 5.4507, 29.5001)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213996 #967E21
analogous
#217396 #213996 #432196
triadic
#213996 #962139 #399621
tetradic
#213996 #962173 #967E21 #219643
square
#213996 #962173 #967E21 #219643
split-complementary
#213996 #964321 #739621
monochromatic
#0B1332 #162664 #213996 #2C4CC8 #5772DA

Accessibility & contrast

On white

10.05
#213996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#213996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213996
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213996#FFFFFF#000000##FFFFFF
##2139961.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213996;
/* rgb */ color: rgb(33, 57, 150);
/* oklch */ color: oklch(38.9% 0.155 267.4);
Tailwind
colors: {
  custom: {
    50: '#706fb6',
    500: '#213996',
    950: '#000000',
  },
}
SCSS
$custom: #213996;
$custom-light: #706fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#213996",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 227.692,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38901,
    "c": 0.15502,
    "h": 267.4
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#213996
secondary
#BEA855
accent
#C541E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213996

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

Preview Lab → · Contrast checker → · Palette generator →

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