#213AAE#213AAE

#213AAE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.186 H 267.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#213AAE
RGBrgb(33, 58, 174)
HSLhsl(229, 68%, 41%)
HSVhsv(229, 81%, 68%)
CMYKcmyk(81%, 66.7%, 0%, 31.8%)
CIE-LABlab(30.41, 34.23, -64.12)
CIE-LCHlch(30.41, 72.69, 298.10°)
OKLaboklab(41.36% -0.0083 -0.1857)
OKLCHoklch(41.36% 0.186 267.4)
XYZxyz(9.7776, 6.4043, 40.7570)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213AAE #AE9521
analogous
#2180AE #213AAE #4F21AE
triadic
#213AAE #AE213A #3AAE21
tetradic
#213AAE #AE2180 #AE9521 #21AE4F
square
#213AAE #AE2180 #AE9521 #21AE4F
split-complementary
#213AAE #AE4F21 #80AE21
monochromatic
#0D1847 #17297B #213AAE #3451D8 #677DE2

Accessibility & contrast

On white

9.21
#213AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213AAE
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213AAE#FFFFFF#000000##FFFFFF
##213AAE1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213aae;
/* rgb */ color: rgb(33, 58, 174);
/* oklch */ color: oklch(41.4% 0.186 267.4);
Tailwind
colors: {
  custom: {
    50: '#7670c7',
    500: '#213aae',
    950: '#000000',
  },
}
SCSS
$custom: #213aae;
$custom-light: #7670c7;
$custom-dark: #000000;
JSON
{
  "hex": "#213aae",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 229.362,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.18588,
    "h": 267.4
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#213AAE
secondary
#C8B663
accent
#CC3DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #213AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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