#213581#213581

#213581 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.130 H 268.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#213581
RGBrgb(33, 53, 129)
HSLhsl(228, 59%, 32%)
HSVhsv(228, 74%, 51%)
CMYKcmyk(74.4%, 58.9%, 0%, 49.4%)
CIE-LABlab(25.12, 20.31, -45.23)
CIE-LCHlch(25.12, 49.58, 294.18°)
OKLaboklab(36.21% -0.0045 -0.1304)
OKLCHoklch(36.21% 0.13 268)
XYZxyz(5.8614, 4.4539, 21.3154)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213581 #816D21
analogous
#216581 #213581 #3D2181
triadic
#213581 #812135 #358121
tetradic
#213581 #812165 #816D21 #21813D
square
#213581 #812165 #816D21 #21813D
split-complementary
#213581 #813D21 #658121
monochromatic
#080D20 #152150 #213581 #2D49B2 #4B67D1

Accessibility & contrast

On white

11.11
#213581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213581
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213581#FFFFFF#000000##FFFFFF
##2135811.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #213581;
/* rgb */ color: rgb(33, 53, 129);
/* oklch */ color: oklch(36.2% 0.130 268.0);
Tailwind
colors: {
  custom: {
    50: '#6b6ba6',
    500: '#213581',
    950: '#000000',
  },
}
SCSS
$custom: #213581;
$custom-light: #6b6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#213581",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 129
  },
  "hsl": {
    "h": 227.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36212,
    "c": 0.13048,
    "h": 268
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#213581
secondary
#B49E4A
accent
#C245E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #213581

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

Preview Lab → · Contrast checker → · Palette generator →

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