#213DA0#213DA0

#213DA0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.164 H 266.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#213DA0
RGBrgb(33, 61, 160)
HSLhsl(227, 66%, 38%)
HSVhsv(227, 79%, 63%)
CMYKcmyk(79.4%, 61.9%, 0%, 37.3%)
CIE-LABlab(29.91, 26.93, -56.53)
CIE-LCHlch(29.91, 62.62, 295.48°)
OKLaboklab(40.6% -0.0097 -0.1634)
OKLCHoklch(40.6% 0.164 266.6)
XYZxyz(8.6389, 6.1979, 33.9919)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213DA0 #A08421
analogous
#217CA0 #213DA0 #4521A0
triadic
#213DA0 #A0213D #3DA021
tetradic
#213DA0 #A0217C #A08421 #21A045
square
#213DA0 #A0217C #A08421 #21A045
split-complementary
#213DA0 #A04521 #7CA021
monochromatic
#0C163B #172A6D #213DA0 #2B50D3 #5E7ADE

Accessibility & contrast

On white

9.38
#213DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#213DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213DA0
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213DA0#FFFFFF#000000##FFFFFF
##213DA01.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213da0;
/* rgb */ color: rgb(33, 61, 160);
/* oklch */ color: oklch(40.6% 0.164 266.6);
Tailwind
colors: {
  custom: {
    50: '#7272bd',
    500: '#213da0',
    950: '#000000',
  },
}
SCSS
$custom: #213da0;
$custom-light: #7272bd;
$custom-dark: #000000;
JSON
{
  "hex": "#213da0",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 226.772,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40598,
    "c": 0.16373,
    "h": 266.6
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#213DA0
secondary
#C2AB5B
accent
#C33FE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #213DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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