#21539A#21539A

#21539A is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.128 H 257.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#21539A
RGBrgb(33, 83, 154)
HSLhsl(215, 65%, 37%)
HSVhsv(215, 79%, 60%)
CMYKcmyk(78.6%, 46.1%, 0%, 39.6%)
CIE-LABlab(35.68, 9.71, -43.55)
CIE-LCHlch(35.68, 44.62, 282.56°)
OKLaboklab(44.84% -0.0269 -0.1249)
OKLCHoklch(44.84% 0.128 257.8)
XYZxyz(9.5510, 8.8418, 31.7689)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21539A #9A6821
analogous
#21909A #21539A #2C219A
triadic
#21539A #9A2153 #539A21
tetradic
#21539A #9A2190 #9A6821 #219A2C
square
#21539A #9A2190 #9A6821 #219A2C
split-complementary
#21539A #9A2C21 #909A21
monochromatic
#0B1D35 #163868 #21539A #2C6ECC #5A8FDC

Accessibility & contrast

On white

7.59
#21539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#21539A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21539A
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21539A#FFFFFF#000000##FFFFFF
##21539A1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9D
Deuteranopia (green-blind)
#134F99
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #21539a;
/* rgb */ color: rgb(33, 83, 154);
/* oklch */ color: oklch(44.8% 0.128 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f82b8',
    500: '#21539a',
    950: '#000000',
  },
}
SCSS
$custom: #21539a;
$custom-light: #6f82b8;
$custom-dark: #000000;
JSON
{
  "hex": "#21539a",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 215.207,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.12776,
    "h": 257.8
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#21539A
secondary
#C09457
accent
#A240E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #21539A

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

Preview Lab → · Contrast checker → · Palette generator →

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