#213588#213588

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

Color values

HEX#213588
RGBrgb(33, 53, 136)
HSLhsl(228, 61%, 33%)
HSVhsv(228, 76%, 53%)
CMYKcmyk(75.7%, 61%, 0%, 46.7%)
CIE-LABlab(25.70, 23.05, -48.66)
CIE-LCHlch(25.70, 53.85, 295.35°)
OKLaboklab(36.83% -0.0043 -0.1405)
OKLCHoklch(36.83% 0.141 268.2)
XYZxyz(6.3427, 4.6464, 23.8504)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213588 #887421
analogous
#216888 #213588 #412188
triadic
#213588 #882135 #358821
tetradic
#213588 #882168 #887421 #218841
square
#213588 #882168 #887421 #218841
split-complementary
#213588 #884121 #688821
monochromatic
#090F25 #152257 #213588 #2D48B9 #4F69D4

Accessibility & contrast

On white

10.88
#213588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#213588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213588
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213588#FFFFFF#000000##FFFFFF
##2135881.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #213588;
/* rgb */ color: rgb(33, 53, 136);
/* oklch */ color: oklch(36.8% 0.141 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c6cab',
    500: '#213588',
    950: '#000000',
  },
}
SCSS
$custom: #213588;
$custom-light: #6c6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#213588",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 228.35,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36831,
    "c": 0.14054,
    "h": 268.2
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#213588
secondary
#B8A34D
accent
#C544E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213588

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

Preview Lab → · Contrast checker → · Palette generator →

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