#213DA6#213DA6

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

Color values

HEX#213DA6
RGBrgb(33, 61, 166)
HSLhsl(227, 67%, 39%)
HSVhsv(227, 80%, 65%)
CMYKcmyk(80.1%, 63.3%, 0%, 34.9%)
CIE-LABlab(30.43, 29.24, -59.29)
CIE-LCHlch(30.43, 66.11, 296.25°)
OKLaboklab(41.15% -0.0097 -0.1715)
OKLCHoklch(41.15% 0.172 266.8)
XYZxyz(9.1765, 6.4129, 36.8232)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213DA6 #A68A21
analogous
#2180A6 #213DA6 #4721A6
triadic
#213DA6 #A6213D #3DA621
tetradic
#213DA6 #A62180 #A68A21 #21A647
square
#213DA6 #A62180 #A68A21 #21A647
split-complementary
#213DA6 #A64721 #80A621
monochromatic
#0D1740 #172A73 #213DA6 #2F52D6 #627CE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213DA6#FFFFFF#000000##FFFFFF
##213DA61.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)
#004EA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213da6;
/* rgb */ color: rgb(33, 61, 166);
/* oklch */ color: oklch(41.1% 0.172 266.8);
Tailwind
colors: {
  custom: {
    50: '#7372c1',
    500: '#213da6',
    950: '#000000',
  },
}
SCSS
$custom: #213da6;
$custom-light: #7372c1;
$custom-dark: #000000;
JSON
{
  "hex": "#213da6",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 166
  },
  "hsl": {
    "h": 227.368,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4115,
    "c": 0.1718,
    "h": 266.8
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#213DA6
secondary
#C5AF5E
accent
#C63EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #213DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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