#213CA6#213CA6

#213CA6 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.173 H 267.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#213CA6
RGBrgb(33, 60, 166)
HSLhsl(228, 67%, 39%)
HSVhsv(228, 80%, 65%)
CMYKcmyk(80.1%, 63.9%, 0%, 34.9%)
CIE-LABlab(30.17, 29.91, -59.71)
CIE-LCHlch(30.17, 66.78, 296.61°)
OKLaboklab(40.96% -0.0091 -0.1728)
OKLCHoklch(40.96% 0.173 267)
XYZxyz(9.1236, 6.3072, 36.8056)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213CA6 #A68B21
analogous
#217FA6 #213CA6 #4921A6
triadic
#213CA6 #A6213C #3CA621
tetradic
#213CA6 #A6217F #A68B21 #21A649
square
#213CA6 #A6217F #A68B21 #21A649
split-complementary
#213CA6 #A64921 #7FA621
monochromatic
#0D1740 #172A73 #213CA6 #2F51D6 #627BE0

Accessibility & contrast

On white

9.29
#213CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#213CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213CA6
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213CA6#FFFFFF#000000##FFFFFF
##213CA61.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #213ca6;
/* rgb */ color: rgb(33, 60, 166);
/* oklch */ color: oklch(41.0% 0.173 267.0);
Tailwind
colors: {
  custom: {
    50: '#7371c1',
    500: '#213ca6',
    950: '#000000',
  },
}
SCSS
$custom: #213ca6;
$custom-light: #7371c1;
$custom-dark: #000000;
JSON
{
  "hex": "#213ca6",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 227.82,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4096,
    "c": 0.17302,
    "h": 267
  },
  "luminance": 0.06308
}

Semantic roles & 50–950 ramp

primary
#213CA6
secondary
#C5B05E
accent
#C73EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #213CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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