#213CA0#213CA0

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

Color values

HEX#213CA0
RGBrgb(33, 60, 160)
HSLhsl(227, 66%, 38%)
HSVhsv(227, 79%, 63%)
CMYKcmyk(79.4%, 62.5%, 0%, 37.3%)
CIE-LABlab(29.64, 27.61, -56.96)
CIE-LCHlch(29.64, 63.29, 295.86°)
OKLaboklab(40.4% -0.009 -0.1647)
OKLCHoklch(40.4% 0.165 266.9)
XYZxyz(8.5860, 6.0921, 33.9743)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213CA0 #A08521
analogous
#217BA0 #213CA0 #4521A0
triadic
#213CA0 #A0213C #3CA021
tetradic
#213CA0 #A0217B #A08521 #21A045
square
#213CA0 #A0217B #A08521 #21A045
split-complementary
#213CA0 #A04521 #7BA021
monochromatic
#0C163B #17296D #213CA0 #2B4FD3 #5E79DE

Accessibility & contrast

On white

9.47
#213CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#213CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213CA0
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213CA0#FFFFFF#000000##FFFFFF
##213CA01.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213ca0;
/* rgb */ color: rgb(33, 60, 160);
/* oklch */ color: oklch(40.4% 0.165 266.9);
Tailwind
colors: {
  custom: {
    50: '#7271bd',
    500: '#213ca0',
    950: '#000000',
  },
}
SCSS
$custom: #213ca0;
$custom-light: #7271bd;
$custom-dark: #000000;
JSON
{
  "hex": "#213ca0",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 227.244,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40403,
    "c": 0.16496,
    "h": 266.9
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#213CA0
secondary
#C2AC5B
accent
#C53FE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #213CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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