#213CA4#213CA4

#213CA4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.170 H 266.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#213CA4
RGBrgb(33, 60, 164)
HSLhsl(228, 66%, 39%)
HSVhsv(228, 80%, 64%)
CMYKcmyk(79.9%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.00, 29.14, -58.80)
CIE-LCHlch(30.00, 65.62, 296.37°)
OKLaboklab(40.77% -0.0091 -0.1701)
OKLCHoklch(40.77% 0.17 266.9)
XYZxyz(8.9416, 6.2344, 35.8469)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213CA4 #A48921
analogous
#217DA4 #213CA4 #4821A4
triadic
#213CA4 #A4213C #3CA421
tetradic
#213CA4 #A4217D #A48921 #21A448
square
#213CA4 #A4217D #A48921 #21A448
split-complementary
#213CA4 #A44821 #7DA421
monochromatic
#0C173E #172971 #213CA4 #2D50D5 #607ADF

Accessibility & contrast

On white

9.35
#213CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#213CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213CA4
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213CA4#FFFFFF#000000##FFFFFF
##213CA41.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #213ca4;
/* rgb */ color: rgb(33, 60, 164);
/* oklch */ color: oklch(40.8% 0.170 266.9);
Tailwind
colors: {
  custom: {
    50: '#7371c0',
    500: '#213ca4',
    950: '#000000',
  },
}
SCSS
$custom: #213ca4;
$custom-light: #7371c0;
$custom-dark: #000000;
JSON
{
  "hex": "#213ca4",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 227.634,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40773,
    "c": 0.17034,
    "h": 266.9
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#213CA4
secondary
#C4AF5D
accent
#C63EE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #213CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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