#213487#213487

#213487 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.140 H 268.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#213487
RGBrgb(33, 52, 135)
HSLhsl(229, 61%, 33%)
HSVhsv(229, 76%, 53%)
CMYKcmyk(75.6%, 61.5%, 0%, 47.1%)
CIE-LABlab(25.35, 23.35, -48.62)
CIE-LCHlch(25.35, 53.94, 295.66°)
OKLaboklab(36.54% -0.0036 -0.1404)
OKLCHoklch(36.54% 0.14 268.5)
XYZxyz(6.2269, 4.5279, 23.4628)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213487 #877421
analogous
#216787 #213487 #412187
triadic
#213487 #872134 #348721
tetradic
#213487 #872167 #877421 #218741
square
#213487 #872167 #877421 #218741
split-complementary
#213487 #874121 #678721
monochromatic
#090E25 #152156 #213487 #2D47B8 #4F67D4

Accessibility & contrast

On white

11.02
#213487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213487
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213487#FFFFFF#000000##FFFFFF
##2134871.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213487;
/* rgb */ color: rgb(33, 52, 135);
/* oklch */ color: oklch(36.5% 0.140 268.5);
Tailwind
colors: {
  custom: {
    50: '#6c6bab',
    500: '#213487',
    950: '#000000',
  },
}
SCSS
$custom: #213487;
$custom-light: #6c6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#213487",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 228.824,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36538,
    "c": 0.14041,
    "h": 268.5
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#213487
secondary
#B7A34D
accent
#C644E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213487

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

Preview Lab → · Contrast checker → · Palette generator →

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