#213B96#213B96

#213B96 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.152 H 266.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#213B96
RGBrgb(33, 59, 150)
HSLhsl(227, 64%, 36%)
HSVhsv(227, 78%, 59%)
CMYKcmyk(78%, 60.7%, 0%, 41.2%)
CIE-LABlab(28.52, 24.41, -52.71)
CIE-LCHlch(28.52, 58.09, 294.85°)
OKLaboklab(39.3% -0.0084 -0.1523)
OKLCHoklch(39.3% 0.153 266.8)
XYZxyz(7.6943, 5.6524, 29.5338)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B96 #967C21
analogous
#217596 #213B96 #422196
triadic
#213B96 #96213B #3B9621
tetradic
#213B96 #962175 #967C21 #219642
square
#213B96 #962175 #967C21 #219642
split-complementary
#213B96 #964221 #759621
monochromatic
#0B1432 #162764 #213B96 #2C4FC8 #5774DA

Accessibility & contrast

On white

9.86
#213B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#213B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213B96
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B96#FFFFFF#000000##FFFFFF
##213B961.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213b96;
/* rgb */ color: rgb(33, 59, 150);
/* oklch */ color: oklch(39.3% 0.152 266.8);
Tailwind
colors: {
  custom: {
    50: '#6f70b6',
    500: '#213b96',
    950: '#000000',
  },
}
SCSS
$custom: #213b96;
$custom-light: #6f70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#213b96",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 226.667,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39299,
    "c": 0.1525,
    "h": 266.8
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#213B96
secondary
#BEA755
accent
#C241E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213B96

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

Preview Lab → · Contrast checker → · Palette generator →

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