#213AA6#213AA6

#213AA6 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.175 H 267.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#213AA6
RGBrgb(33, 58, 166)
HSLhsl(229, 67%, 39%)
HSVhsv(229, 80%, 65%)
CMYKcmyk(80.1%, 65.1%, 0%, 34.9%)
CIE-LABlab(29.67, 31.23, -60.54)
CIE-LCHlch(29.67, 68.12, 297.29°)
OKLaboklab(40.59% -0.008 -0.1752)
OKLCHoklch(40.59% 0.175 267.4)
XYZxyz(9.0208, 6.1016, 36.7713)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213AA6 #A68D21
analogous
#217DA6 #213AA6 #4B21A6
triadic
#213AA6 #A6213A #3AA621
tetradic
#213AA6 #A6217D #A68D21 #21A64B
square
#213AA6 #A6217D #A68D21 #21A64B
split-complementary
#213AA6 #A64B21 #7DA621
monochromatic
#0D1640 #172873 #213AA6 #2F4ED6 #6279E0

Accessibility & contrast

On white

9.46
#213AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#213AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213AA6
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213AA6#FFFFFF#000000##FFFFFF
##213AA61.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #213aa6;
/* rgb */ color: rgb(33, 58, 166);
/* oklch */ color: oklch(40.6% 0.175 267.4);
Tailwind
colors: {
  custom: {
    50: '#7470c1',
    500: '#213aa6',
    950: '#000000',
  },
}
SCSS
$custom: #213aa6;
$custom-light: #7470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#213aa6",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 228.722,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40586,
    "c": 0.17541,
    "h": 267.4
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#213AA6
secondary
#C5B15E
accent
#C93EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #213AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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