#213EA3#213EA3

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

Color values

HEX#213EA3
RGBrgb(33, 62, 163)
HSLhsl(227, 66%, 38%)
HSVhsv(227, 80%, 64%)
CMYKcmyk(79.8%, 62%, 0%, 36.1%)
CIE-LABlab(30.43, 27.42, -57.49)
CIE-LCHlch(30.43, 63.69, 295.50°)
OKLaboklab(41.07% -0.0103 -0.1662)
OKLCHoklch(41.07% 0.167 266.5)
XYZxyz(8.9584, 6.4119, 35.4087)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213EA3 #A38621
analogous
#217FA3 #213EA3 #4521A3
triadic
#213EA3 #A3213E #3EA321
tetradic
#213EA3 #A3217F #A38621 #21A345
square
#213EA3 #A3217F #A38621 #21A345
split-complementary
#213EA3 #A34521 #7FA321
monochromatic
#0C173D #172B70 #213EA3 #2D52D4 #607CDF

Accessibility & contrast

On white

9.20
#213EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#213EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213EA3
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213EA3#FFFFFF#000000##FFFFFF
##213EA31.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213ea3;
/* rgb */ color: rgb(33, 62, 163);
/* oklch */ color: oklch(41.1% 0.167 266.5);
Tailwind
colors: {
  custom: {
    50: '#7273bf',
    500: '#213ea3',
    950: '#000000',
  },
}
SCSS
$custom: #213ea3;
$custom-light: #7273bf;
$custom-dark: #000000;
JSON
{
  "hex": "#213ea3",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 226.615,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41067,
    "c": 0.16656,
    "h": 266.5
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#213EA3
secondary
#C3AC5C
accent
#C33FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #213EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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