#24209C#24209C

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

Color values

HEX#24209C
RGBrgb(36, 32, 156)
HSLhsl(242, 66%, 37%)
HSVhsv(242, 79%, 61%)
CMYKcmyk(76.9%, 79.5%, 0%, 38.8%)
CIE-LABlab(23.02, 43.77, -65.41)
CIE-LCHlch(23.02, 78.70, 303.79°)
OKLaboklab(35.54% 0.0084 -0.1893)
OKLCHoklch(35.54% 0.189 272.5)
XYZxyz(7.2428, 3.8076, 31.7993)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24209C #989C20
analogous
#205A9C #24209C #62209C
triadic
#24209C #9C2420 #209C24
tetradic
#24209C #9C205A #989C20 #209C62
square
#24209C #9C205A #989C20 #209C62
split-complementary
#24209C #9C6220 #5A9C20
monochromatic
#0D0B36 #181669 #24209C #302ACF #5E59DD

Accessibility & contrast

On white

11.92
#24209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24209C
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24209C#FFFFFF#000000##FFFFFF
##24209C1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24209c;
/* rgb */ color: rgb(36, 32, 156);
/* oklch */ color: oklch(35.5% 0.189 272.5);
Tailwind
colors: {
  custom: {
    50: '#745ebb',
    500: '#24209c',
    950: '#000000',
  },
}
SCSS
$custom: #24209c;
$custom-light: #745ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#24209c",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 241.935,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35541,
    "c": 0.18949,
    "h": 272.5
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24209C

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

Preview Lab → · Contrast checker → · Palette generator →

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