#24417A#24417A

#24417A is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.103 H 262.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#24417A
RGBrgb(36, 65, 122)
HSLhsl(220, 54%, 31%)
HSVhsv(220, 70%, 48%)
CMYKcmyk(70.5%, 46.7%, 0%, 52.2%)
CIE-LABlab(28.27, 9.67, -35.74)
CIE-LCHlch(28.27, 37.02, 285.14°)
OKLaboklab(38.49% -0.0137 -0.1022)
OKLCHoklch(38.49% 0.103 262.3)
XYZxyz(6.1295, 5.5602, 19.1588)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24417A #7A5D24
analogous
#246C7A #24417A #32247A
triadic
#24417A #7A2441 #417A24
tetradic
#24417A #7A246C #7A5D24 #247A32
square
#24417A #7A246C #7A5D24 #247A32
split-complementary
#24417A #7A3224 #6C7A24
monochromatic
#080F1B #16284B #24417A #325AA9 #4E78CB

Accessibility & contrast

On white

9.94
#24417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#24417A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24417A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24417A#FFFFFF#000000##FFFFFF
##24417A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#153F79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24417a;
/* rgb */ color: rgb(36, 65, 122);
/* oklch */ color: oklch(38.5% 0.103 262.3);
Tailwind
colors: {
  custom: {
    50: '#6975a1',
    500: '#24417a',
    950: '#000000',
  },
}
SCSS
$custom: #24417a;
$custom-light: #6975a1;
$custom-dark: #000000;
JSON
{
  "hex": "#24417a",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 219.767,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38486,
    "c": 0.10312,
    "h": 262.3
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#24417A
secondary
#AC8C4D
accent
#AC4ADE
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #24417A

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

Preview Lab → · Contrast checker → · Palette generator →

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