#213E99#213E99

#213E99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.153 H 266.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#213E99
RGBrgb(33, 62, 153)
HSLhsl(226, 65%, 36%)
HSVhsv(226, 78%, 60%)
CMYKcmyk(78.4%, 59.5%, 0%, 40%)
CIE-LABlab(29.58, 23.53, -52.80)
CIE-LCHlch(29.58, 57.81, 294.02°)
OKLaboklab(40.17% -0.0105 -0.1525)
OKLCHoklch(40.17% 0.153 266.1)
XYZxyz(8.0976, 6.0676, 30.8752)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E99 #997C21
analogous
#217A99 #213E99 #402199
triadic
#213E99 #99213E #3E9921
tetradic
#213E99 #99217A #997C21 #219940
square
#213E99 #99217A #997C21 #219940
split-complementary
#213E99 #994021 #7A9921
monochromatic
#0B1534 #162A67 #213E99 #2C52CB #5979DB

Accessibility & contrast

On white

9.49
#213E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#213E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E99
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E99#FFFFFF#000000##FFFFFF
##213E991.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #213e99;
/* rgb */ color: rgb(33, 62, 153);
/* oklch */ color: oklch(40.2% 0.153 266.1);
Tailwind
colors: {
  custom: {
    50: '#7072b8',
    500: '#213e99',
    950: '#000000',
  },
}
SCSS
$custom: #213e99;
$custom-light: #7072b8;
$custom-dark: #000000;
JSON
{
  "hex": "#213e99",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 225.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40173,
    "c": 0.15287,
    "h": 266.1
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#213E99
secondary
#BFA656
accent
#BF40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #213E99

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

Preview Lab → · Contrast checker → · Palette generator →

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