#213585#213585

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

Color values

HEX#213585
RGBrgb(33, 53, 133)
HSLhsl(228, 60%, 33%)
HSVhsv(228, 75%, 52%)
CMYKcmyk(75.2%, 60.2%, 0%, 47.8%)
CIE-LABlab(25.45, 21.88, -47.20)
CIE-LCHlch(25.45, 52.03, 294.87°)
OKLaboklab(36.56% -0.0044 -0.1362)
OKLCHoklch(36.56% 0.136 268.2)
XYZxyz(6.1325, 4.5623, 22.7432)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213585 #857121
analogous
#216785 #213585 #3F2185
triadic
#213585 #852135 #358521
tetradic
#213585 #852167 #857121 #21853F
square
#213585 #852167 #857121 #21853F
split-complementary
#213585 #853F21 #678521
monochromatic
#090E23 #152154 #213585 #2D49B6 #4D68D3

Accessibility & contrast

On white

10.98
#213585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#213585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213585
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213585#FFFFFF#000000##FFFFFF
##2135851.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213585;
/* rgb */ color: rgb(33, 53, 133);
/* oklch */ color: oklch(36.6% 0.136 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c6ba9',
    500: '#213585',
    950: '#000000',
  },
}
SCSS
$custom: #213585;
$custom-light: #6c6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#213585",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 228,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36563,
    "c": 0.13625,
    "h": 268.2
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#213585
secondary
#B6A14C
accent
#C444E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #213585

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

Preview Lab → · Contrast checker → · Palette generator →

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