#213C96#213C96

#213C96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.151 H 266.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#213C96
RGBrgb(33, 60, 150)
HSLhsl(226, 64%, 36%)
HSVhsv(226, 78%, 59%)
CMYKcmyk(78%, 60%, 0%, 41.2%)
CIE-LABlab(28.79, 23.73, -52.27)
CIE-LCHlch(28.79, 57.40, 294.41°)
OKLaboklab(39.5% -0.0091 -0.151)
OKLCHoklch(39.5% 0.151 266.5)
XYZxyz(7.7462, 5.7562, 29.5511)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C96 #967B21
analogous
#217696 #213C96 #402196
triadic
#213C96 #96213C #3C9621
tetradic
#213C96 #962176 #967B21 #219640
square
#213C96 #962176 #967B21 #219640
split-complementary
#213C96 #964021 #769621
monochromatic
#0B1432 #162864 #213C96 #2C50C8 #5775DA

Accessibility & contrast

On white

9.76
#213C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#213C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C96
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C96#FFFFFF#000000##FFFFFF
##213C961.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213c96;
/* rgb */ color: rgb(33, 60, 150);
/* oklch */ color: oklch(39.5% 0.151 266.5);
Tailwind
colors: {
  custom: {
    50: '#6f71b6',
    500: '#213c96',
    950: '#000000',
  },
}
SCSS
$custom: #213c96;
$custom-light: #6f71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213c96",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 226.154,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39501,
    "c": 0.15124,
    "h": 266.5
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#213C96
secondary
#BEA655
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213C96

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

Preview Lab → · Contrast checker → · Palette generator →

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