#213E96#213E96

#213E96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.149 H 265.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#213E96
RGBrgb(33, 62, 150)
HSLhsl(225, 64%, 36%)
HSVhsv(225, 78%, 59%)
CMYKcmyk(78%, 58.7%, 0%, 41.2%)
CIE-LABlab(29.34, 22.36, -51.38)
CIE-LCHlch(29.34, 56.03, 293.52°)
OKLaboklab(39.91% -0.0106 -0.1483)
OKLCHoklch(39.91% 0.149 265.9)
XYZxyz(7.8529, 5.9697, 29.5866)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E96 #967921
analogous
#217896 #213E96 #3E2196
triadic
#213E96 #96213E #3E9621
tetradic
#213E96 #962178 #967921 #21963E
square
#213E96 #962178 #967921 #21963E
split-complementary
#213E96 #963E21 #789621
monochromatic
#0B1532 #162964 #213E96 #2C53C8 #5778DA

Accessibility & contrast

On white

9.57
#213E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#213E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E96
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E96#FFFFFF#000000##FFFFFF
##213E961.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213e96;
/* rgb */ color: rgb(33, 62, 150);
/* oklch */ color: oklch(39.9% 0.149 265.9);
Tailwind
colors: {
  custom: {
    50: '#6f72b6',
    500: '#213e96',
    950: '#000000',
  },
}
SCSS
$custom: #213e96;
$custom-light: #6f72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213e96",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 150
  },
  "hsl": {
    "h": 225.128,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39911,
    "c": 0.14869,
    "h": 265.9
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#213E96
secondary
#BEA455
accent
#BE41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #213E96

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

Preview Lab → · Contrast checker → · Palette generator →

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