#24209D#24209D

#24209D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.191 H 272.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#24209D
RGBrgb(36, 32, 157)
HSLhsl(242, 66%, 37%)
HSVhsv(242, 80%, 62%)
CMYKcmyk(77.1%, 79.6%, 0%, 38.4%)
CIE-LABlab(23.14, 44.09, -65.83)
CIE-LCHlch(23.14, 79.23, 303.82°)
OKLaboklab(35.66% 0.0082 -0.1905)
OKLCHoklch(35.66% 0.191 272.5)
XYZxyz(7.3278, 3.8416, 32.2471)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24209D #999D20
analogous
#205B9D #24209D #63209D
triadic
#24209D #9D2420 #209D24
tetradic
#24209D #9D205B #999D20 #209D63
square
#24209D #9D205B #999D20 #209D63
split-complementary
#24209D #9D6320 #5B9D20
monochromatic
#0D0B37 #18166A #24209D #302AD0 #5E5ADD

Accessibility & contrast

On white

11.88
#24209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#24209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24209D
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24209D#FFFFFF#000000##FFFFFF
##24209D1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #24209d;
/* rgb */ color: rgb(36, 32, 157);
/* oklch */ color: oklch(35.7% 0.191 272.5);
Tailwind
colors: {
  custom: {
    50: '#755ebb',
    500: '#24209d',
    950: '#000000',
  },
}
SCSS
$custom: #24209d;
$custom-light: #755ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#24209d",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 241.92,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35656,
    "c": 0.19068,
    "h": 272.5
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#24209D
secondary
#BEC157
accent
#E93FE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24209D

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

Preview Lab → · Contrast checker → · Palette generator →

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