#24209B#24209B

#24209B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.188 H 272.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#24209B
RGBrgb(36, 32, 155)
HSLhsl(242, 66%, 37%)
HSVhsv(242, 79%, 61%)
CMYKcmyk(76.8%, 79.4%, 0%, 39.2%)
CIE-LABlab(22.91, 43.44, -64.99)
CIE-LCHlch(22.91, 78.17, 303.76°)
OKLaboklab(35.43% 0.0086 -0.1881)
OKLCHoklch(35.43% 0.188 272.6)
XYZxyz(7.1585, 3.7739, 31.3552)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24209B #979B20
analogous
#205A9B #24209B #62209B
triadic
#24209B #9B2420 #209B24
tetradic
#24209B #9B205A #979B20 #209B62
square
#24209B #9B205A #979B20 #209B62
split-complementary
#24209B #9B6220 #5A9B20
monochromatic
#0C0B36 #181668 #24209B #302ACE #5D59DD

Accessibility & contrast

On white

11.97
#24209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#24209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24209B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24209B#FFFFFF#000000##FFFFFF
##24209B1.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003199
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24209b;
/* rgb */ color: rgb(36, 32, 155);
/* oklch */ color: oklch(35.4% 0.188 272.6);
Tailwind
colors: {
  custom: {
    50: '#745eba',
    500: '#24209b',
    950: '#000000',
  },
}
SCSS
$custom: #24209b;
$custom-light: #745eba;
$custom-dark: #000000;
JSON
{
  "hex": "#24209b",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 241.951,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35426,
    "c": 0.18827,
    "h": 272.6
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#24209B
secondary
#BDC156
accent
#E93FE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24209B

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

Preview Lab → · Contrast checker → · Palette generator →

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