#213EA6#213EA6

#213EA6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.171 H 266.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#213EA6
RGBrgb(33, 62, 166)
HSLhsl(227, 67%, 39%)
HSVhsv(227, 80%, 65%)
CMYKcmyk(80.1%, 62.7%, 0%, 34.9%)
CIE-LABlab(30.69, 28.57, -58.87)
CIE-LCHlch(30.69, 65.43, 295.89°)
OKLaboklab(41.34% -0.0103 -0.1703)
OKLCHoklch(41.34% 0.171 266.5)
XYZxyz(9.2303, 6.5207, 36.8411)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213EA6 #A68921
analogous
#2181A6 #213EA6 #4721A6
triadic
#213EA6 #A6213E #3EA621
tetradic
#213EA6 #A62181 #A68921 #21A647
square
#213EA6 #A62181 #A68921 #21A647
split-complementary
#213EA6 #A64721 #81A621
monochromatic
#0D1840 #172B73 #213EA6 #2F53D6 #627DE0

Accessibility & contrast

On white

9.11
#213EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#213EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213EA6
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213EA6#FFFFFF#000000##FFFFFF
##213EA61.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213ea6;
/* rgb */ color: rgb(33, 62, 166);
/* oklch */ color: oklch(41.3% 0.171 266.5);
Tailwind
colors: {
  custom: {
    50: '#7373c1',
    500: '#213ea6',
    950: '#000000',
  },
}
SCSS
$custom: #213ea6;
$custom-light: #7373c1;
$custom-dark: #000000;
JSON
{
  "hex": "#213ea6",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 226.917,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41341,
    "c": 0.17059,
    "h": 266.5
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#213EA6
secondary
#C5AE5E
accent
#C43EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #213EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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