#213F91#213F91

#213F91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.140 H 265.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#213F91
RGBrgb(33, 63, 145)
HSLhsl(224, 63%, 35%)
HSVhsv(224, 77%, 57%)
CMYKcmyk(77.2%, 56.6%, 0%, 43.1%)
CIE-LABlab(29.21, 19.70, -48.51)
CIE-LCHlch(29.21, 52.36, 292.10°)
OKLaboklab(39.69% -0.0116 -0.1399)
OKLCHoklch(39.69% 0.14 265.3)
XYZxyz(7.5137, 5.9218, 27.5296)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F91 #917321
analogous
#217791 #213F91 #3B2191
triadic
#213F91 #91213F #3F9121
tetradic
#213F91 #912177 #917321 #21913B
square
#213F91 #912177 #917321 #21913B
split-complementary
#213F91 #913B21 #779121
monochromatic
#0A142D #16295F #213F91 #2C55C3 #5478D8

Accessibility & contrast

On white

9.61
#213F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#213F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F91
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F91#FFFFFF#000000##FFFFFF
##213F911.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #213f91;
/* rgb */ color: rgb(33, 63, 145);
/* oklch */ color: oklch(39.7% 0.140 265.3);
Tailwind
colors: {
  custom: {
    50: '#6e73b2',
    500: '#213f91',
    950: '#000000',
  },
}
SCSS
$custom: #213f91;
$custom-light: #6e73b2;
$custom-dark: #000000;
JSON
{
  "hex": "#213f91",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 223.929,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.14035,
    "h": 265.3
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#213F91
secondary
#BC9F52
accent
#BA42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #213F91

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

Preview Lab → · Contrast checker → · Palette generator →

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