#213CA1#213CA1

#213CA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.166 H 266.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#213CA1
RGBrgb(33, 60, 161)
HSLhsl(227, 66%, 38%)
HSVhsv(227, 80%, 63%)
CMYKcmyk(79.5%, 62.7%, 0%, 36.9%)
CIE-LABlab(29.73, 27.99, -57.42)
CIE-LCHlch(29.73, 63.88, 295.99°)
OKLaboklab(40.49% -0.009 -0.1661)
OKLCHoklch(40.49% 0.166 266.9)
XYZxyz(8.6738, 6.1273, 34.4368)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213CA1 #A18621
analogous
#217CA1 #213CA1 #4621A1
triadic
#213CA1 #A1213C #3CA121
tetradic
#213CA1 #A1217C #A18621 #21A146
square
#213CA1 #A1217C #A18621 #21A146
split-complementary
#213CA1 #A14621 #7CA121
monochromatic
#0C163B #17296E #213CA1 #2C4FD4 #5E79DE

Accessibility & contrast

On white

9.44
#213CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#213CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213CA1
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213CA1#FFFFFF#000000##FFFFFF
##213CA11.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #213ca1;
/* rgb */ color: rgb(33, 60, 161);
/* oklch */ color: oklch(40.5% 0.166 266.9);
Tailwind
colors: {
  custom: {
    50: '#7271be',
    500: '#213ca1',
    950: '#000000',
  },
}
SCSS
$custom: #213ca1;
$custom-light: #7271be;
$custom-dark: #000000;
JSON
{
  "hex": "#213ca1",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 227.344,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40495,
    "c": 0.16632,
    "h": 266.9
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#213CA1
secondary
#C3AD5B
accent
#C53FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #213CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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