#21539B#21539B

#21539B is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.129 H 258.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#21539B
RGBrgb(33, 83, 155)
HSLhsl(215, 65%, 37%)
HSVhsv(215, 79%, 61%)
CMYKcmyk(78.7%, 46.5%, 0%, 39.2%)
CIE-LABlab(35.74, 10.10, -44.05)
CIE-LCHlch(35.74, 45.19, 282.92°)
OKLaboklab(44.91% -0.0267 -0.1264)
OKLCHoklch(44.91% 0.129 258.1)
XYZxyz(9.6347, 8.8753, 32.2093)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21539B #9B6921
analogous
#21909B #21539B #2C219B
triadic
#21539B #9B2153 #539B21
tetradic
#21539B #9B2190 #9B6921 #219B2C
square
#21539B #9B2190 #9B6921 #219B2C
split-complementary
#21539B #9B2C21 #909B21
monochromatic
#0C1D36 #163869 #21539B #2C6ECD #5A90DC

Accessibility & contrast

On white

7.57
#21539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21539B
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21539B#FFFFFF#000000##FFFFFF
##21539B1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#104F9A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #21539b;
/* rgb */ color: rgb(33, 83, 155);
/* oklch */ color: oklch(44.9% 0.129 258.1);
Tailwind
colors: {
  custom: {
    50: '#6f82b9',
    500: '#21539b',
    950: '#000000',
  },
}
SCSS
$custom: #21539b;
$custom-light: #6f82b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21539b",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 215.41,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44906,
    "c": 0.12916,
    "h": 258.1
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#21539B
secondary
#C09558
accent
#A340E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #21539B

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

Preview Lab → · Contrast checker → · Palette generator →

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