#24417C#24417C

#24417C is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.106 H 262.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#24417C
RGBrgb(36, 65, 124)
HSLhsl(220, 55%, 31%)
HSVhsv(220, 71%, 49%)
CMYKcmyk(71%, 47.6%, 0%, 51.4%)
CIE-LABlab(28.41, 10.45, -36.78)
CIE-LCHlch(28.41, 38.24, 285.87°)
OKLaboklab(38.63% -0.0134 -0.1053)
OKLCHoklch(38.63% 0.106 262.8)
XYZxyz(6.2547, 5.6103, 19.8181)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24417C #7C5F24
analogous
#246D7C #24417C #33247C
triadic
#24417C #7C2441 #417C24
tetradic
#24417C #7C246D #7C5F24 #247C33
square
#24417C #7C246D #7C5F24 #247C33
split-complementary
#24417C #7C3324 #6D7C24
monochromatic
#080F1D #16284D #24417C #325AAB #4F78CC

Accessibility & contrast

On white

9.90
#24417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#24417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24417C
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24417C#FFFFFF#000000##FFFFFF
##24417C1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#123F7B
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24417c;
/* rgb */ color: rgb(36, 65, 124);
/* oklch */ color: oklch(38.6% 0.106 262.8);
Tailwind
colors: {
  custom: {
    50: '#6a75a2',
    500: '#24417c',
    950: '#000000',
  },
}
SCSS
$custom: #24417c;
$custom-light: #6a75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24417c",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 220.227,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3863,
    "c": 0.10612,
    "h": 262.8
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#24417C
secondary
#AE8E4D
accent
#AD49DE
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24417C

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

Preview Lab → · Contrast checker → · Palette generator →

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