#213CA8#213CA8

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

Color values

HEX#213CA8
RGBrgb(33, 60, 168)
HSLhsl(228, 67%, 39%)
HSVhsv(228, 80%, 66%)
CMYKcmyk(80.4%, 64.3%, 0%, 34.1%)
CIE-LABlab(30.35, 30.67, -60.62)
CIE-LCHlch(30.35, 67.93, 296.84°)
OKLaboklab(41.15% -0.0092 -0.1754)
OKLCHoklch(41.15% 0.176 267)
XYZxyz(9.3085, 6.3811, 37.7793)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213CA8 #A88D21
analogous
#2180A8 #213CA8 #4A21A8
triadic
#213CA8 #A8213C #3CA821
tetradic
#213CA8 #A82180 #A88D21 #21A84A
square
#213CA8 #A82180 #A88D21 #21A84A
split-complementary
#213CA8 #A84A21 #80A821
monochromatic
#0D1742 #172A75 #213CA8 #3051D6 #637CE0

Accessibility & contrast

On white

9.23
#213CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213CA8
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213CA8#FFFFFF#000000##FFFFFF
##213CA81.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #213ca8;
/* rgb */ color: rgb(33, 60, 168);
/* oklch */ color: oklch(41.1% 0.176 267.0);
Tailwind
colors: {
  custom: {
    50: '#7471c3',
    500: '#213ca8',
    950: '#000000',
  },
}
SCSS
$custom: #213ca8;
$custom-light: #7471c3;
$custom-dark: #000000;
JSON
{
  "hex": "#213ca8",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 228,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41148,
    "c": 0.17567,
    "h": 267
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #213CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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