#213B99#213B99

#213B99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.157 H 266.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#213B99
RGBrgb(33, 59, 153)
HSLhsl(227, 65%, 36%)
HSVhsv(227, 78%, 60%)
CMYKcmyk(78.4%, 61.4%, 0%, 40%)
CIE-LABlab(28.77, 25.57, -54.12)
CIE-LCHlch(28.77, 59.86, 295.29°)
OKLaboklab(39.57% -0.0084 -0.1564)
OKLCHoklch(39.57% 0.157 266.9)
XYZxyz(7.9389, 5.7503, 30.8223)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213B99 #997F21
analogous
#217799 #213B99 #432199
triadic
#213B99 #99213B #3B9921
tetradic
#213B99 #992177 #997F21 #219943
square
#213B99 #992177 #997F21 #219943
split-complementary
#213B99 #994321 #779921
monochromatic
#0B1434 #162867 #213B99 #2C4ECB #5975DB

Accessibility & contrast

On white

9.77
#213B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213B99
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213B99#FFFFFF#000000##FFFFFF
##213B991.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213b99;
/* rgb */ color: rgb(33, 59, 153);
/* oklch */ color: oklch(39.6% 0.157 266.9);
Tailwind
colors: {
  custom: {
    50: '#7070b8',
    500: '#213b99',
    950: '#000000',
  },
}
SCSS
$custom: #213b99;
$custom-light: #7070b8;
$custom-dark: #000000;
JSON
{
  "hex": "#213b99",
  "rgb": {
    "r": 33,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 227,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.15665,
    "h": 266.9
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#213B99
secondary
#BFA956
accent
#C340E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #213B99

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

Preview Lab → · Contrast checker → · Palette generator →

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