#24408A#24408A

#24408A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.128 H 265.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#24408A
RGBrgb(36, 64, 138)
HSLhsl(224, 59%, 34%)
HSVhsv(224, 74%, 54%)
CMYKcmyk(73.9%, 53.6%, 0%, 45.9%)
CIE-LABlab(29.10, 16.65, -44.38)
CIE-LCHlch(29.10, 47.40, 290.57°)
OKLaboklab(39.47% -0.0105 -0.1277)
OKLCHoklch(39.47% 0.128 265.3)
XYZxyz(7.1468, 5.8761, 24.7974)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24408A #8A6E24
analogous
#24738A #24408A #3B248A
triadic
#24408A #8A2440 #408A24
tetradic
#24408A #8A2473 #8A6E24 #248A3B
square
#24408A #8A2473 #8A6E24 #248A3B
split-complementary
#24408A #8A3B24 #738A24
monochromatic
#0B1329 #172959 #24408A #3157BB #5678D3

Accessibility & contrast

On white

9.65
#24408A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24408A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24408A#FFFFFF#000000##FFFFFF
##24408A1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24408a;
/* rgb */ color: rgb(36, 64, 138);
/* oklch */ color: oklch(39.5% 0.128 265.3);
Tailwind
colors: {
  custom: {
    50: '#6d74ad',
    500: '#24408a',
    950: '#000000',
  },
}
SCSS
$custom: #24408a;
$custom-light: #6d74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24408a",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 223.529,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39473,
    "c": 0.12808,
    "h": 265.3
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#24408A
secondary
#B79B53
accent
#B746E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #24408A

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

Preview Lab → · Contrast checker → · Palette generator →

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