#213387#213387

#213387 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.142 H 268.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#213387
RGBrgb(33, 51, 135)
HSLhsl(229, 61%, 33%)
HSVhsv(229, 76%, 53%)
CMYKcmyk(75.6%, 62.2%, 0%, 47.1%)
CIE-LABlab(25.07, 24.04, -49.06)
CIE-LCHlch(25.07, 54.64, 296.11°)
OKLaboklab(36.34% -0.0028 -0.1417)
OKLCHoklch(36.34% 0.142 268.9)
XYZxyz(6.1827, 4.4396, 23.4481)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213387 #877521
analogous
#216687 #213387 #422187
triadic
#213387 #872133 #338721
tetradic
#213387 #872166 #877521 #218742
square
#213387 #872166 #877521 #218742
split-complementary
#213387 #874221 #668721
monochromatic
#090E25 #152056 #213387 #2D46B8 #4F66D4

Accessibility & contrast

On white

11.12
#213387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#213387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213387
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213387#FFFFFF#000000##FFFFFF
##2133871.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213387;
/* rgb */ color: rgb(33, 51, 135);
/* oklch */ color: oklch(36.3% 0.142 268.9);
Tailwind
colors: {
  custom: {
    50: '#6c6aab',
    500: '#213387',
    950: '#000000',
  },
}
SCSS
$custom: #213387;
$custom-light: #6c6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#213387",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 229.412,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36337,
    "c": 0.1417,
    "h": 268.9
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

primary
#213387
secondary
#B7A44D
accent
#C844E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #213387

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

Preview Lab → · Contrast checker → · Palette generator →

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