#24209F#24209F

#24209F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.193 H 272.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#24209F
RGBrgb(36, 32, 159)
HSLhsl(242, 66%, 37%)
HSVhsv(242, 80%, 62%)
CMYKcmyk(77.4%, 79.9%, 0%, 37.6%)
CIE-LABlab(23.37, 44.75, -66.67)
CIE-LCHlch(23.37, 80.29, 303.87°)
OKLaboklab(35.89% 0.0077 -0.1929)
OKLCHoklch(35.89% 0.193 272.3)
XYZxyz(7.5000, 3.9105, 33.1537)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24209F #9B9F20
analogous
#205B9F #24209F #64209F
triadic
#24209F #9F2420 #209F24
tetradic
#24209F #9F205B #9B9F20 #209F64
square
#24209F #9F205B #9B9F20 #209F64
split-complementary
#24209F #9F6420 #5B9F20
monochromatic
#0D0B39 #18166C #24209F #302AD2 #5F5BDE

Accessibility & contrast

On white

11.78
#24209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#24209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24209F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24209F#FFFFFF#000000##FFFFFF
##24209F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24209f;
/* rgb */ color: rgb(36, 32, 159);
/* oklch */ color: oklch(35.9% 0.193 272.3);
Tailwind
colors: {
  custom: {
    50: '#755ebd',
    500: '#24209f',
    950: '#000000',
  },
}
SCSS
$custom: #24209f;
$custom-light: #755ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#24209f",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 241.89,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35886,
    "c": 0.19309,
    "h": 272.3
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#24209F
secondary
#BFC259
accent
#E93EE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24209F

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

Preview Lab → · Contrast checker → · Palette generator →

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