#213EA8#213EA8

#213EA8 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.173 H 266.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#213EA8
RGBrgb(33, 62, 168)
HSLhsl(227, 67%, 39%)
HSVhsv(227, 80%, 66%)
CMYKcmyk(80.4%, 63.1%, 0%, 34.1%)
CIE-LABlab(30.87, 29.34, -59.78)
CIE-LCHlch(30.87, 66.59, 296.14°)
OKLaboklab(41.53% -0.0103 -0.173)
OKLCHoklch(41.53% 0.173 266.6)
XYZxyz(9.4152, 6.5946, 37.8149)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213EA8 #A88B21
analogous
#2182A8 #213EA8 #4821A8
triadic
#213EA8 #A8213E #3EA821
tetradic
#213EA8 #A82182 #A88B21 #21A848
square
#213EA8 #A82182 #A88B21 #21A848
split-complementary
#213EA8 #A84821 #82A821
monochromatic
#0D1842 #172B75 #213EA8 #3054D6 #637EE0

Accessibility & contrast

On white

9.05
#213EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#213EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213EA8
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213EA8#FFFFFF#000000##FFFFFF
##213EA81.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #213ea8;
/* rgb */ color: rgb(33, 62, 168);
/* oklch */ color: oklch(41.5% 0.173 266.6);
Tailwind
colors: {
  custom: {
    50: '#7473c3',
    500: '#213ea8',
    950: '#000000',
  },
}
SCSS
$custom: #213ea8;
$custom-light: #7473c3;
$custom-dark: #000000;
JSON
{
  "hex": "#213ea8",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 227.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41526,
    "c": 0.17327,
    "h": 266.6
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#213EA8
secondary
#C5B05F
accent
#C53EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #213EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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