#213F84#213F84

#213F84 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.122 H 263.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#213F84
RGBrgb(33, 63, 132)
HSLhsl(222, 60%, 32%)
HSVhsv(222, 75%, 52%)
CMYKcmyk(75%, 52.3%, 0%, 48.2%)
CIE-LABlab(28.23, 14.53, -42.07)
CIE-LCHlch(28.23, 44.51, 289.06°)
OKLaboklab(38.64% -0.0129 -0.1209)
OKLCHoklch(38.64% 0.122 263.9)
XYZxyz(6.5681, 5.5436, 22.5492)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213F84 #846621
analogous
#217184 #213F84 #342184
triadic
#213F84 #84213F #3F8421
tetradic
#213F84 #842171 #846621 #218434
square
#213F84 #842171 #846621 #218434
split-complementary
#213F84 #843421 #718421
monochromatic
#091022 #152853 #213F84 #2D56B5 #4D75D2

Accessibility & contrast

On white

9.96
#213F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#213F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213F84
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213F84#FFFFFF#000000##FFFFFF
##213F841.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154786
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #213f84;
/* rgb */ color: rgb(33, 63, 132);
/* oklch */ color: oklch(38.6% 0.122 263.9);
Tailwind
colors: {
  custom: {
    50: '#6b73a8',
    500: '#213f84',
    950: '#000000',
  },
}
SCSS
$custom: #213f84;
$custom-light: #6b73a8;
$custom-dark: #000000;
JSON
{
  "hex": "#213f84",
  "rgb": {
    "r": 33,
    "g": 63,
    "b": 132
  },
  "hsl": {
    "h": 221.818,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38636,
    "c": 0.12161,
    "h": 263.9
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#213F84
secondary
#B6954B
accent
#B345E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #213F84

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

Preview Lab → · Contrast checker → · Palette generator →

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