#24408B#24408B

#24408B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.130 H 265.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#24408B
RGBrgb(36, 64, 139)
HSLhsl(224, 59%, 34%)
HSVhsv(224, 74%, 55%)
CMYKcmyk(74.1%, 54%, 0%, 45.5%)
CIE-LABlab(29.17, 17.04, -44.88)
CIE-LCHlch(29.17, 48.01, 290.80°)
OKLaboklab(39.55% -0.0104 -0.1291)
OKLCHoklch(39.55% 0.13 265.4)
XYZxyz(7.2195, 5.9052, 25.1804)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24408B #8B6F24
analogous
#24748B #24408B #3B248B
triadic
#24408B #8B2440 #408B24
tetradic
#24408B #8B2474 #8B6F24 #248B3B
square
#24408B #8B2474 #8B6F24 #248B3B
split-complementary
#24408B #8B3B24 #748B24
monochromatic
#0B132A #172A5A #24408B #3156BC #5678D3

Accessibility & contrast

On white

9.63
#24408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#24408B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24408B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24408B#FFFFFF#000000##FFFFFF
##24408B1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #24408b;
/* rgb */ color: rgb(36, 64, 139);
/* oklch */ color: oklch(39.6% 0.130 265.4);
Tailwind
colors: {
  custom: {
    50: '#6d74ad',
    500: '#24408b',
    950: '#000000',
  },
}
SCSS
$custom: #24408b;
$custom-light: #6d74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24408b",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 223.689,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39553,
    "c": 0.12954,
    "h": 265.4
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#24408B
secondary
#B79C53
accent
#B846E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #24408B

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

Preview Lab → · Contrast checker → · Palette generator →

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