#24417E#24417E

#24417E is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.109 H 263.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#24417E
RGBrgb(36, 65, 126)
HSLhsl(221, 56%, 32%)
HSVhsv(221, 71%, 49%)
CMYKcmyk(71.4%, 48.4%, 0%, 50.6%)
CIE-LABlab(28.54, 11.24, -37.82)
CIE-LCHlch(28.54, 39.45, 286.55°)
OKLaboklab(38.78% -0.013 -0.1083)
OKLCHoklch(38.78% 0.109 263.1)
XYZxyz(6.3824, 5.6614, 20.4910)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24417E #7E6124
analogous
#246E7E #24417E #34247E
triadic
#24417E #7E2441 #417E24
tetradic
#24417E #7E246E #7E6124 #247E34
square
#24417E #7E246E #7E6124 #247E34
split-complementary
#24417E #7E3424 #6E7E24
monochromatic
#09101F #16284E #24417E #325AAE #5078CD

Accessibility & contrast

On white

9.85
#24417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24417E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24417E#FFFFFF#000000##FFFFFF
##24417E1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214880
Deuteranopia (green-blind)
#0E3F7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24417e;
/* rgb */ color: rgb(36, 65, 126);
/* oklch */ color: oklch(38.8% 0.109 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a75a4',
    500: '#24417e',
    950: '#000000',
  },
}
SCSS
$custom: #24417e;
$custom-light: #6a75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24417e",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 220.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38777,
    "c": 0.1091,
    "h": 263.1
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#24417E
secondary
#B0904E
accent
#AF49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24417E

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

Preview Lab → · Contrast checker → · Palette generator →

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