#213381#213381

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

Color values

HEX#213381
RGBrgb(33, 51, 129)
HSLhsl(229, 59%, 32%)
HSVhsv(229, 74%, 51%)
CMYKcmyk(74.4%, 60.5%, 0%, 49.4%)
CIE-LABlab(24.56, 21.70, -46.14)
CIE-LCHlch(24.56, 50.99, 295.19°)
OKLaboklab(35.8% -0.0029 -0.1331)
OKLCHoklch(35.8% 0.133 268.8)
XYZxyz(5.7721, 4.2754, 21.2857)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213381 #816F21
analogous
#216381 #213381 #3F2181
triadic
#213381 #812133 #338121
tetradic
#213381 #812163 #816F21 #21813F
square
#213381 #812163 #816F21 #21813F
split-complementary
#213381 #813F21 #638121
monochromatic
#080C20 #152050 #213381 #2D46B2 #4B64D1

Accessibility & contrast

On white

11.32
#213381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213381
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213381#FFFFFF#000000##FFFFFF
##2133811.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #213381;
/* rgb */ color: rgb(33, 51, 129);
/* oklch */ color: oklch(35.8% 0.133 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b6aa6',
    500: '#213381',
    950: '#000000',
  },
}
SCSS
$custom: #213381;
$custom-light: #6b6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#213381",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 228.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35796,
    "c": 0.13313,
    "h": 268.8
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#213381
secondary
#B4A04A
accent
#C545E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #213381

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

Preview Lab → · Contrast checker → · Palette generator →

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