#213EB4#213EB4

#213EB4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.189 H 266.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#213EB4
RGBrgb(33, 62, 180)
HSLhsl(228, 69%, 42%)
HSVhsv(228, 82%, 71%)
CMYKcmyk(81.7%, 65.6%, 0%, 29.4%)
CIE-LABlab(31.95, 33.88, -65.17)
CIE-LCHlch(31.95, 73.45, 297.47°)
OKLaboklab(42.66% -0.0106 -0.1887)
OKLCHoklch(42.66% 0.189 266.8)
XYZxyz(10.5852, 7.0626, 43.9765)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213EB4 #B49721
analogous
#2188B4 #213EB4 #4D21B4
triadic
#213EB4 #B4213E #3EB421
tetradic
#213EB4 #B42188 #B49721 #21B44D
square
#213EB4 #B42188 #B49721 #21B44D
split-complementary
#213EB4 #B44D21 #88B421
monochromatic
#0E1A4D #182C80 #213EB4 #3858DA #6B83E4

Accessibility & contrast

On white

8.70
#213EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#213EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213EB4
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213EB4#FFFFFF#000000##FFFFFF
##213EB41.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #213eb4;
/* rgb */ color: rgb(33, 62, 180);
/* oklch */ color: oklch(42.7% 0.189 266.8);
Tailwind
colors: {
  custom: {
    50: '#7773cc',
    500: '#213eb4',
    950: '#000000',
  },
}
SCSS
$custom: #213eb4;
$custom-light: #7773cc;
$custom-dark: #000000;
JSON
{
  "hex": "#213eb4",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 228.163,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.18902,
    "h": 266.8
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#213EB4
secondary
#CAB667
accent
#C93CEC
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #213EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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