#213587#213587

#213587 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.139 H 268.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#213587
RGBrgb(33, 53, 135)
HSLhsl(228, 61%, 33%)
HSVhsv(228, 76%, 53%)
CMYKcmyk(75.6%, 60.7%, 0%, 47.1%)
CIE-LABlab(25.62, 22.66, -48.18)
CIE-LCHlch(25.62, 53.24, 295.19°)
OKLaboklab(36.74% -0.0043 -0.139)
OKLCHoklch(36.74% 0.139 268.2)
XYZxyz(6.2720, 4.6181, 23.4778)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213587 #877321
analogous
#216887 #213587 #402187
triadic
#213587 #872135 #358721
tetradic
#213587 #872168 #877321 #218740
square
#213587 #872168 #877321 #218740
split-complementary
#213587 #874021 #688721
monochromatic
#090E25 #152256 #213587 #2D48B8 #4F69D4

Accessibility & contrast

On white

10.92
#213587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#213587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213587
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213587#FFFFFF#000000##FFFFFF
##2135871.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213587;
/* rgb */ color: rgb(33, 53, 135);
/* oklch */ color: oklch(36.7% 0.139 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c6cab',
    500: '#213587',
    950: '#000000',
  },
}
SCSS
$custom: #213587;
$custom-light: #6c6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#213587",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 228.235,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36742,
    "c": 0.13911,
    "h": 268.2
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#213587
secondary
#B7A24D
accent
#C444E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213587

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

Preview Lab → · Contrast checker → · Palette generator →

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