#213C91#213C91

#213C91 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.144 H 266.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#213C91
RGBrgb(33, 60, 145)
HSLhsl(226, 63%, 35%)
HSVhsv(226, 77%, 57%)
CMYKcmyk(77.2%, 58.6%, 0%, 43.1%)
CIE-LABlab(28.38, 21.76, -49.87)
CIE-LCHlch(28.38, 54.41, 293.57°)
OKLaboklab(39.06% -0.0093 -0.1439)
OKLCHoklch(39.06% 0.144 266.3)
XYZxyz(7.3521, 5.5986, 27.4757)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C91 #917621
analogous
#217491 #213C91 #3E2191
triadic
#213C91 #91213C #3C9121
tetradic
#213C91 #912174 #917621 #21913E
square
#213C91 #912174 #917621 #21913E
split-complementary
#213C91 #913E21 #749121
monochromatic
#0A132D #16275F #213C91 #2C51C3 #5474D8

Accessibility & contrast

On white

9.91
#213C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#213C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C91
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C91#FFFFFF#000000##FFFFFF
##213C911.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213c91;
/* rgb */ color: rgb(33, 60, 145);
/* oklch */ color: oklch(39.1% 0.144 266.3);
Tailwind
colors: {
  custom: {
    50: '#6e71b2',
    500: '#213c91',
    950: '#000000',
  },
}
SCSS
$custom: #213c91;
$custom-light: #6e71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#213c91",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 225.536,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39064,
    "c": 0.14423,
    "h": 266.3
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#213C91
secondary
#BCA252
accent
#BE42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #213C91

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

Preview Lab → · Contrast checker → · Palette generator →

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