#24418D#24418D

#24418D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.131 H 265.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#24418D
RGBrgb(36, 65, 141)
HSLhsl(223, 59%, 35%)
HSVhsv(223, 74%, 55%)
CMYKcmyk(74.5%, 53.9%, 0%, 44.7%)
CIE-LABlab(29.61, 17.14, -45.41)
CIE-LCHlch(29.61, 48.53, 290.68°)
OKLaboklab(39.93% -0.011 -0.1306)
OKLCHoklch(39.93% 0.131 265.2)
XYZxyz(7.4239, 6.0780, 25.9760)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24418D #8D7024
analogous
#24758D #24418D #3C248D
triadic
#24418D #8D2441 #418D24
tetradic
#24418D #8D2475 #8D7024 #248D3C
square
#24418D #8D2475 #8D7024 #248D3C
split-complementary
#24418D #8D3C24 #758D24
monochromatic
#0B142B #182B5C #24418D #3057BE #577AD4

Accessibility & contrast

On white

9.48
#24418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24418D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24418D#FFFFFF#000000##FFFFFF
##24418D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #24418d;
/* rgb */ color: rgb(36, 65, 141);
/* oklch */ color: oklch(39.9% 0.131 265.2);
Tailwind
colors: {
  custom: {
    50: '#6e75af',
    500: '#24418d',
    950: '#000000',
  },
}
SCSS
$custom: #24418d;
$custom-light: #6e75af;
$custom-dark: #000000;
JSON
{
  "hex": "#24418d",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 223.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39931,
    "c": 0.13112,
    "h": 265.2
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#24418D
secondary
#B89D54
accent
#B745E3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #24418D

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

Preview Lab → · Contrast checker → · Palette generator →

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