#213EA4#213EA4

#213EA4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.168 H 266.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#213EA4
RGBrgb(33, 62, 164)
HSLhsl(227, 66%, 39%)
HSVhsv(227, 80%, 64%)
CMYKcmyk(79.9%, 62.2%, 0%, 35.7%)
CIE-LABlab(30.52, 27.81, -57.95)
CIE-LCHlch(30.52, 64.27, 295.63°)
OKLaboklab(41.16% -0.0103 -0.1676)
OKLCHoklch(41.16% 0.168 266.5)
XYZxyz(9.0483, 6.4479, 35.8824)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213EA4 #A48721
analogous
#217FA4 #213EA4 #4621A4
triadic
#213EA4 #A4213E #3EA421
tetradic
#213EA4 #A4217F #A48721 #21A446
square
#213EA4 #A4217F #A48721 #21A446
split-complementary
#213EA4 #A44621 #7FA421
monochromatic
#0C173E #172B71 #213EA4 #2D52D5 #607CDF

Accessibility & contrast

On white

9.17
#213EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#213EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213EA4
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213EA4#FFFFFF#000000##FFFFFF
##213EA41.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213ea4;
/* rgb */ color: rgb(33, 62, 164);
/* oklch */ color: oklch(41.2% 0.168 266.5);
Tailwind
colors: {
  custom: {
    50: '#7373c0',
    500: '#213ea4',
    950: '#000000',
  },
}
SCSS
$custom: #213ea4;
$custom-light: #7373c0;
$custom-dark: #000000;
JSON
{
  "hex": "#213ea4",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 226.718,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.1679,
    "h": 266.5
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#213EA4
secondary
#C4AD5D
accent
#C43EE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #213EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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