#213AA1#213AA1

#213AA1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.169 H 267.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#213AA1
RGBrgb(33, 58, 161)
HSLhsl(228, 66%, 38%)
HSVhsv(228, 80%, 63%)
CMYKcmyk(79.5%, 64%, 0%, 36.9%)
CIE-LABlab(29.21, 29.33, -58.26)
CIE-LCHlch(29.21, 65.23, 296.72°)
OKLaboklab(40.11% -0.0078 -0.1686)
OKLCHoklch(40.11% 0.169 267.3)
XYZxyz(8.5710, 5.9217, 34.4026)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213AA1 #A18821
analogous
#217AA1 #213AA1 #4821A1
triadic
#213AA1 #A1213A #3AA121
tetradic
#213AA1 #A1217A #A18821 #21A148
square
#213AA1 #A1217A #A18821 #21A148
split-complementary
#213AA1 #A14821 #7AA121
monochromatic
#0C153B #17286E #213AA1 #2C4CD4 #5E77DE

Accessibility & contrast

On white

9.61
#213AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#213AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213AA1
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213AA1#FFFFFF#000000##FFFFFF
##213AA11.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213aa1;
/* rgb */ color: rgb(33, 58, 161);
/* oklch */ color: oklch(40.1% 0.169 267.3);
Tailwind
colors: {
  custom: {
    50: '#7270be',
    500: '#213aa1',
    950: '#000000',
  },
}
SCSS
$custom: #213aa1;
$custom-light: #7270be;
$custom-dark: #000000;
JSON
{
  "hex": "#213aa1",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 228.281,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40113,
    "c": 0.16875,
    "h": 267.3
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#213AA1
secondary
#C3AE5B
accent
#C83FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #213AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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