#213CA9#213CA9

#213CA9 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.177 H 267.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#213CA9
RGBrgb(33, 60, 169)
HSLhsl(228, 67%, 40%)
HSVhsv(228, 80%, 66%)
CMYKcmyk(80.5%, 64.5%, 0%, 33.7%)
CIE-LABlab(30.44, 31.05, -61.07)
CIE-LCHlch(30.44, 68.51, 296.95°)
OKLaboklab(41.24% -0.0092 -0.1768)
OKLCHoklch(41.24% 0.177 267)
XYZxyz(9.4020, 6.4185, 38.2718)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213CA9 #A98E21
analogous
#2180A9 #213CA9 #4A21A9
triadic
#213CA9 #A9213C #3CA921
tetradic
#213CA9 #A92180 #A98E21 #21A94A
square
#213CA9 #A92180 #A98E21 #21A94A
split-complementary
#213CA9 #A94A21 #80A921
monochromatic
#0D1843 #172A76 #213CA9 #3152D7 #647DE1

Accessibility & contrast

On white

9.19
#213CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213CA9
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213CA9#FFFFFF#000000##FFFFFF
##213CA91.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #213ca9;
/* rgb */ color: rgb(33, 60, 169);
/* oklch */ color: oklch(41.2% 0.177 267.0);
Tailwind
colors: {
  custom: {
    50: '#7471c4',
    500: '#213ca9',
    950: '#000000',
  },
}
SCSS
$custom: #213ca9;
$custom-light: #7471c4;
$custom-dark: #000000;
JSON
{
  "hex": "#213ca9",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 228.088,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.177,
    "h": 267
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#213CA9
secondary
#C6B260
accent
#C83EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #213CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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