#24205B#24205B

#24205B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.102 H 280.9°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#24205B
RGBrgb(36, 32, 91)
HSLhsl(244, 48%, 24%)
HSVhsv(244, 65%, 36%)
CMYKcmyk(60.4%, 64.8%, 0%, 64.3%)
CIE-LABlab(16.32, 20.98, -34.95)
CIE-LCHlch(16.32, 40.76, 300.97°)
OKLaboklab(28.73% 0.0193 -0.1003)
OKLCHoklch(28.73% 0.102 280.9)
XYZxyz(3.1318, 2.1632, 10.1480)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24205B #575B20
analogous
#203A5B #24205B #42205B
triadic
#24205B #5B2420 #205B24
tetradic
#24205B #5B203A #575B20 #205B42
square
#24205B #5B203A #575B20 #205B42
split-complementary
#24205B #5B4220 #3A5B20
monochromatic
#090817 #12102E #24205B #363088 #4840B6

Accessibility & contrast

On white

14.66
#24205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#24205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24205B
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24205B#FFFFFF#000000##FFFFFF
##24205B1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#082E3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #24205b;
/* rgb */ color: rgb(36, 32, 91);
/* oklch */ color: oklch(28.7% 0.102 280.9);
Tailwind
colors: {
  custom: {
    50: '#655b8a',
    500: '#24205b',
    950: '#000000',
  },
}
SCSS
$custom: #24205b;
$custom-light: #655b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#24205b",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 244.068,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28727,
    "c": 0.10216,
    "h": 280.9
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#24205B
secondary
#8B8F47
accent
#D850CE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #24205B

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

Preview Lab → · Contrast checker → · Palette generator →

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