#213E91#213E91

#213E91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.142 H 265.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#213E91
RGBrgb(33, 62, 145)
HSLhsl(224, 63%, 35%)
HSVhsv(224, 77%, 57%)
CMYKcmyk(77.2%, 57.2%, 0%, 43.1%)
CIE-LABlab(28.93, 20.39, -48.97)
CIE-LCHlch(28.93, 53.04, 292.61°)
OKLaboklab(39.48% -0.0108 -0.1412)
OKLCHoklch(39.48% 0.142 265.6)
XYZxyz(7.4589, 5.8121, 27.5113)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E91 #917421
analogous
#217691 #213E91 #3C2191
triadic
#213E91 #91213E #3E9121
tetradic
#213E91 #912176 #917421 #21913C
square
#213E91 #912176 #917421 #21913C
split-complementary
#213E91 #913C21 #769121
monochromatic
#0A132D #16295F #213E91 #2C53C3 #5476D8

Accessibility & contrast

On white

9.71
#213E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#213E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E91
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E91#FFFFFF#000000##FFFFFF
##213E911.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #213e91;
/* rgb */ color: rgb(33, 62, 145);
/* oklch */ color: oklch(39.5% 0.142 265.6);
Tailwind
colors: {
  custom: {
    50: '#6e72b2',
    500: '#213e91',
    950: '#000000',
  },
}
SCSS
$custom: #213e91;
$custom-light: #6e72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#213e91",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 224.464,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39482,
    "c": 0.14165,
    "h": 265.6
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#213E91
secondary
#BCA052
accent
#BB42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #213E91

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

Preview Lab → · Contrast checker → · Palette generator →

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