#24209A#24209A

#24209A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.187 H 272.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#24209A
RGBrgb(36, 32, 154)
HSLhsl(242, 66%, 36%)
HSVhsv(242, 79%, 60%)
CMYKcmyk(76.6%, 79.2%, 0%, 39.6%)
CIE-LABlab(22.79, 43.11, -64.57)
CIE-LCHlch(22.79, 77.64, 303.73°)
OKLaboklab(35.31% 0.0088 -0.1868)
OKLCHoklch(35.31% 0.187 272.7)
XYZxyz(7.0748, 3.7404, 30.9147)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24209A #969A20
analogous
#20599A #24209A #61209A
triadic
#24209A #9A2420 #209A24
tetradic
#24209A #9A2059 #969A20 #209A61
square
#24209A #9A2059 #969A20 #209A61
split-complementary
#24209A #9A6120 #599A20
monochromatic
#0C0B35 #181567 #24209A #302BCD #5C58DC

Accessibility & contrast

On white

12.01
#24209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#24209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24209A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24209A#FFFFFF#000000##FFFFFF
##24209A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24209a;
/* rgb */ color: rgb(36, 32, 154);
/* oklch */ color: oklch(35.3% 0.187 272.7);
Tailwind
colors: {
  custom: {
    50: '#745eb9',
    500: '#24209a',
    950: '#000000',
  },
}
SCSS
$custom: #24209a;
$custom-light: #745eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#24209a",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 241.967,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35312,
    "c": 0.18706,
    "h": 272.7
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24209A

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

Preview Lab → · Contrast checker → · Palette generator →

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