#24408C#24408C

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

Color values

HEX#24408C
RGBrgb(36, 64, 140)
HSLhsl(224, 59%, 35%)
HSVhsv(224, 74%, 55%)
CMYKcmyk(74.3%, 54.3%, 0%, 45.1%)
CIE-LABlab(29.25, 17.44, -45.38)
CIE-LCHlch(29.25, 48.61, 291.02°)
OKLaboklab(39.63% -0.0103 -0.1306)
OKLCHoklch(39.63% 0.131 265.5)
XYZxyz(7.2929, 5.9345, 25.5670)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24408C #8C7024
analogous
#24748C #24408C #3C248C
triadic
#24408C #8C2440 #408C24
tetradic
#24408C #8C2474 #8C7024 #248C3C
square
#24408C #8C2474 #8C7024 #248C3C
split-complementary
#24408C #8C3C24 #748C24
monochromatic
#0B132B #172A5B #24408C #3156BD #5778D4

Accessibility & contrast

On white

9.60
#24408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#24408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24408C
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24408C#FFFFFF#000000##FFFFFF
##24408C1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4A8F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #24408c;
/* rgb */ color: rgb(36, 64, 140);
/* oklch */ color: oklch(39.6% 0.131 265.5);
Tailwind
colors: {
  custom: {
    50: '#6e74ae',
    500: '#24408c',
    950: '#000000',
  },
}
SCSS
$custom: #24408c;
$custom-light: #6e74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24408c",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 223.846,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39633,
    "c": 0.13097,
    "h": 265.5
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24408C

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

Preview Lab → · Contrast checker → · Palette generator →

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