#24418E#24418E

#24418E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.133 H 265.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#24418E
RGBrgb(36, 65, 142)
HSLhsl(224, 60%, 35%)
HSVhsv(224, 75%, 56%)
CMYKcmyk(74.6%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.68, 17.54, -45.90)
CIE-LCHlch(29.68, 49.14, 290.91°)
OKLaboklab(40.01% -0.0109 -0.1321)
OKLCHoklch(40.01% 0.133 265.3)
XYZxyz(7.4986, 6.1079, 26.3697)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24418E #8E7124
analogous
#24768E #24418E #3C248E
triadic
#24418E #8E2441 #418E24
tetradic
#24418E #8E2476 #8E7124 #248E3C
square
#24418E #8E2476 #8E7124 #248E3C
split-complementary
#24418E #8E3C24 #768E24
monochromatic
#0B142C #182B5D #24418E #3057BF #587AD5

Accessibility & contrast

On white

9.45
#24418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#24418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24418E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24418E#FFFFFF#000000##FFFFFF
##24418E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4B91
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #24418e;
/* rgb */ color: rgb(36, 65, 142);
/* oklch */ color: oklch(40.0% 0.133 265.3);
Tailwind
colors: {
  custom: {
    50: '#6e75b0',
    500: '#24418e',
    950: '#000000',
  },
}
SCSS
$custom: #24418e;
$custom-light: #6e75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24418e",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 223.585,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.13255,
    "h": 265.3
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#24418E
secondary
#B99E55
accent
#B845E3
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #24418E

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

Preview Lab → · Contrast checker → · Palette generator →

#24418E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva