#21205B#21205B

#21205B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.103 H 278.4°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#21205B
RGBrgb(33, 32, 91)
HSLhsl(241, 48%, 24%)
HSVhsv(241, 65%, 36%)
CMYKcmyk(63.7%, 64.8%, 0%, 64.3%)
CIE-LABlab(16.06, 20.37, -35.39)
CIE-LCHlch(16.06, 40.83, 299.92°)
OKLaboklab(28.47% 0.015 -0.1017)
OKLCHoklch(28.47% 0.103 278.4)
XYZxyz(3.0314, 2.1115, 10.1433)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21205B #5A5B20
analogous
#203D5B #21205B #3F205B
triadic
#21205B #5B2120 #205B21
tetradic
#21205B #5B203D #5A5B20 #205B3F
square
#21205B #5B203D #5A5B20 #205B3F
split-complementary
#21205B #5B3F20 #3D5B20
monochromatic
#080817 #11102E #21205B #313088 #4240B6

Accessibility & contrast

On white

14.76
#21205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#21205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21205B
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21205B#FFFFFF#000000##FFFFFF
##21205B1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #21205b;
/* rgb */ color: rgb(33, 32, 91);
/* oklch */ color: oklch(28.5% 0.103 278.4);
Tailwind
colors: {
  custom: {
    50: '#635b8a',
    500: '#21205b',
    950: '#000000',
  },
}
SCSS
$custom: #21205b;
$custom-light: #635b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#21205b",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 241.017,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2847,
    "c": 0.1028,
    "h": 278.4
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#21205B
secondary
#8E8F47
accent
#D850D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #21205B

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

Preview Lab → · Contrast checker → · Palette generator →

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