#24408F#24408F

#24408F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.135 H 265.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#24408F
RGBrgb(36, 64, 143)
HSLhsl(224, 60%, 35%)
HSVhsv(224, 75%, 56%)
CMYKcmyk(74.8%, 55.2%, 0%, 43.9%)
CIE-LABlab(29.47, 18.62, -46.86)
CIE-LCHlch(29.47, 50.42, 291.67°)
OKLaboklab(39.88% -0.01 -0.1349)
OKLCHoklch(39.88% 0.135 265.8)
XYZxyz(7.5171, 6.0242, 26.7479)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24408F #8F7324
analogous
#24768F #24408F #3D248F
triadic
#24408F #8F2440 #408F24
tetradic
#24408F #8F2476 #8F7324 #248F3D
square
#24408F #8F2476 #8F7324 #248F3D
split-complementary
#24408F #8F3D24 #768F24
monochromatic
#0B142D #182A5E #24408F #3056C0 #5879D5

Accessibility & contrast

On white

9.52
#24408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#24408F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24408F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24408F#FFFFFF#000000##FFFFFF
##24408F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014B92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #24408f;
/* rgb */ color: rgb(36, 64, 143);
/* oklch */ color: oklch(39.9% 0.135 265.8);
Tailwind
colors: {
  custom: {
    50: '#6e74b0',
    500: '#24408f',
    950: '#000000',
  },
}
SCSS
$custom: #24408f;
$custom-light: #6e74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24408f",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 224.299,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.1353,
    "h": 265.8
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#24408F
secondary
#B99F55
accent
#BA45E3
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #24408F

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

Preview Lab → · Contrast checker → · Palette generator →

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