#24417D#24417D

#24417D is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.108 H 263.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#24417D
RGBrgb(36, 65, 125)
HSLhsl(220, 55%, 32%)
HSVhsv(220, 71%, 49%)
CMYKcmyk(71.2%, 48%, 0%, 51%)
CIE-LABlab(28.47, 10.85, -37.30)
CIE-LCHlch(28.47, 38.84, 286.21°)
OKLaboklab(38.7% -0.0132 -0.1068)
OKLCHoklch(38.7% 0.108 263)
XYZxyz(6.3182, 5.6357, 20.1529)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24417D #7D6024
analogous
#246E7D #24417D #33247D
triadic
#24417D #7D2441 #417D24
tetradic
#24417D #7D246E #7D6024 #247D33
square
#24417D #7D246E #7D6024 #247D33
split-complementary
#24417D #7D3324 #6E7D24
monochromatic
#09101E #16284D #24417D #325AAD #4F78CC

Accessibility & contrast

On white

9.87
#24417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#24417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24417D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24417D#FFFFFF#000000##FFFFFF
##24417D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22487F
Deuteranopia (green-blind)
#103F7C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24417d;
/* rgb */ color: rgb(36, 65, 125);
/* oklch */ color: oklch(38.7% 0.108 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a75a3',
    500: '#24417d',
    950: '#000000',
  },
}
SCSS
$custom: #24417d;
$custom-light: #6a75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24417d",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 220.449,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38703,
    "c": 0.1076,
    "h": 263
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#24417D
secondary
#AF8F4D
accent
#AE49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24417D

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

Preview Lab → · Contrast checker → · Palette generator →

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