#213DAE#213DAE

#213DAE is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.182 H 266.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#213DAE
RGBrgb(33, 61, 174)
HSLhsl(228, 68%, 41%)
HSVhsv(228, 81%, 68%)
CMYKcmyk(81%, 64.9%, 0%, 31.8%)
CIE-LABlab(31.15, 32.28, -62.90)
CIE-LCHlch(31.15, 70.70, 297.17°)
OKLaboklab(41.9% -0.0099 -0.1821)
OKLCHoklch(41.9% 0.182 266.9)
XYZxyz(9.9333, 6.7156, 40.8089)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213DAE #AE9221
analogous
#2183AE #213DAE #4B21AE
triadic
#213DAE #AE213D #3DAE21
tetradic
#213DAE #AE2183 #AE9221 #21AE4B
square
#213DAE #AE2183 #AE9221 #21AE4B
split-complementary
#213DAE #AE4B21 #83AE21
monochromatic
#0D1947 #172B7B #213DAE #3454D8 #6780E2

Accessibility & contrast

On white

8.96
#213DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#213DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213DAE
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213DAE#FFFFFF#000000##FFFFFF
##213DAE1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #213dae;
/* rgb */ color: rgb(33, 61, 174);
/* oklch */ color: oklch(41.9% 0.182 266.9);
Tailwind
colors: {
  custom: {
    50: '#7572c7',
    500: '#213dae',
    950: '#000000',
  },
}
SCSS
$custom: #213dae;
$custom-light: #7572c7;
$custom-dark: #000000;
JSON
{
  "hex": "#213dae",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 228.085,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41901,
    "c": 0.18239,
    "h": 266.9
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#213DAE
secondary
#C8B463
accent
#C83DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #213DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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