#213382#213382

#213382 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.135 H 268.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#213382
RGBrgb(33, 51, 130)
HSLhsl(229, 60%, 32%)
HSVhsv(229, 75%, 51%)
CMYKcmyk(74.6%, 60.8%, 0%, 49%)
CIE-LABlab(24.65, 22.09, -46.63)
CIE-LCHlch(24.65, 51.60, 295.35°)
OKLaboklab(35.89% -0.0029 -0.1345)
OKLCHoklch(35.89% 0.135 268.8)
XYZxyz(5.8389, 4.3021, 21.6374)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213382 #827021
analogous
#216482 #213382 #402182
triadic
#213382 #822133 #338221
tetradic
#213382 #822164 #827021 #218240
square
#213382 #822164 #827021 #218240
split-complementary
#213382 #824021 #648221
monochromatic
#080D20 #152051 #213382 #2D46B3 #4C65D2

Accessibility & contrast

On white

11.29
#213382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#213382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213382
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213382#FFFFFF#000000##FFFFFF
##2133821.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #213382;
/* rgb */ color: rgb(33, 51, 130);
/* oklch */ color: oklch(35.9% 0.135 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b6aa7',
    500: '#213382',
    950: '#000000',
  },
}
SCSS
$custom: #213382;
$custom-light: #6b6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#213382",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 228.866,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35885,
    "c": 0.13457,
    "h": 268.8
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#213382
secondary
#B4A14A
accent
#C545E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #213382

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

Preview Lab → · Contrast checker → · Palette generator →

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