#213987#213987

#213987 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.134 H 266.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#213987
RGBrgb(33, 57, 135)
HSLhsl(226, 61%, 33%)
HSVhsv(226, 76%, 53%)
CMYKcmyk(75.6%, 57.8%, 0%, 47.1%)
CIE-LABlab(26.73, 19.89, -46.37)
CIE-LCHlch(26.73, 50.45, 293.22°)
OKLaboklab(37.57% -0.0075 -0.1337)
OKLCHoklch(37.57% 0.134 266.8)
XYZxyz(6.4620, 4.9982, 23.5412)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213987 #876F21
analogous
#216C87 #213987 #3C2187
triadic
#213987 #872139 #398721
tetradic
#213987 #87216C #876F21 #21873C
square
#213987 #87216C #876F21 #21873C
split-complementary
#213987 #873C21 #6C8721
monochromatic
#090F25 #152456 #213987 #2D4EB8 #4F6ED4

Accessibility & contrast

On white

10.50
#213987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#213987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213987
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213987#FFFFFF#000000##FFFFFF
##2139871.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #213987;
/* rgb */ color: rgb(33, 57, 135);
/* oklch */ color: oklch(37.6% 0.134 266.8);
Tailwind
colors: {
  custom: {
    50: '#6c6fab',
    500: '#213987',
    950: '#000000',
  },
}
SCSS
$custom: #213987;
$custom-light: #6c6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#213987",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 225.882,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37573,
    "c": 0.13388,
    "h": 266.8
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#213987
secondary
#B79E4D
accent
#BE44E4
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #213987

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

Preview Lab → · Contrast checker → · Palette generator →

#213987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva