#21539C#21539C

#21539C is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.131 H 258.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#21539C
RGBrgb(33, 83, 156)
HSLhsl(216, 65%, 37%)
HSVhsv(216, 79%, 61%)
CMYKcmyk(78.8%, 46.8%, 0%, 38.8%)
CIE-LABlab(35.81, 10.50, -44.55)
CIE-LCHlch(35.81, 45.77, 283.26°)
OKLaboklab(44.98% -0.0266 -0.1278)
OKLCHoklch(44.98% 0.131 258.3)
XYZxyz(9.7190, 8.9090, 32.6534)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21539C #9C6A21
analogous
#21909C #21539C #2D219C
triadic
#21539C #9C2153 #539C21
tetradic
#21539C #9C2190 #9C6A21 #219C2D
square
#21539C #9C2190 #9C6A21 #219C2D
split-complementary
#21539C #9C2D21 #909C21
monochromatic
#0C1D37 #163869 #21539C #2C6ECF #5B90DC

Accessibility & contrast

On white

7.55
#21539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#21539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21539C
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21539C#FFFFFF#000000##FFFFFF
##21539C1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#0E4F9B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #21539c;
/* rgb */ color: rgb(33, 83, 156);
/* oklch */ color: oklch(45.0% 0.131 258.3);
Tailwind
colors: {
  custom: {
    50: '#7082ba',
    500: '#21539c',
    950: '#000000',
  },
}
SCSS
$custom: #21539c;
$custom-light: #7082ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21539c",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 215.61,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44978,
    "c": 0.13055,
    "h": 258.3
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#21539C
secondary
#C19658
accent
#A440E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #21539C

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

Preview Lab → · Contrast checker → · Palette generator →

#21539C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva