#213AA0#213AA0

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

Color values

HEX#213AA0
RGBrgb(33, 58, 160)
HSLhsl(228, 66%, 38%)
HSVhsv(228, 79%, 63%)
CMYKcmyk(79.4%, 63.8%, 0%, 37.3%)
CIE-LABlab(29.12, 28.95, -57.81)
CIE-LCHlch(29.12, 64.65, 296.60°)
OKLaboklab(40.02% -0.0078 -0.1672)
OKLCHoklch(40.02% 0.167 267.3)
XYZxyz(8.4832, 5.8865, 33.9400)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213AA0 #A08721
analogous
#2179A0 #213AA0 #4721A0
triadic
#213AA0 #A0213A #3AA021
tetradic
#213AA0 #A02179 #A08721 #21A047
square
#213AA0 #A02179 #A08721 #21A047
split-complementary
#213AA0 #A04721 #79A021
monochromatic
#0C153B #17286D #213AA0 #2B4CD3 #5E77DE

Accessibility & contrast

On white

9.64
#213AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213AA0
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213AA0#FFFFFF#000000##FFFFFF
##213AA01.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213aa0;
/* rgb */ color: rgb(33, 58, 160);
/* oklch */ color: oklch(40.0% 0.167 267.3);
Tailwind
colors: {
  custom: {
    50: '#7270bd',
    500: '#213aa0',
    950: '#000000',
  },
}
SCSS
$custom: #213aa0;
$custom-light: #7270bd;
$custom-dark: #000000;
JSON
{
  "hex": "#213aa0",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 228.189,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40019,
    "c": 0.1674,
    "h": 267.3
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#213AA0
secondary
#C2AE5B
accent
#C73FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #213AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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