#24418F#24418F

#24418F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.134 H 265.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#24418F
RGBrgb(36, 65, 143)
HSLhsl(224, 60%, 35%)
HSVhsv(224, 75%, 56%)
CMYKcmyk(74.8%, 54.5%, 0%, 43.9%)
CIE-LABlab(29.76, 17.93, -46.39)
CIE-LCHlch(29.76, 49.74, 291.13°)
OKLaboklab(40.09% -0.0108 -0.1336)
OKLCHoklch(40.09% 0.134 265.4)
XYZxyz(7.5740, 6.1380, 26.7669)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24418F #8F7224
analogous
#24778F #24418F #3C248F
triadic
#24418F #8F2441 #418F24
tetradic
#24418F #8F2477 #8F7224 #248F3C
square
#24418F #8F2477 #8F7224 #248F3C
split-complementary
#24418F #8F3C24 #778F24
monochromatic
#0B152D #182B5E #24418F #3057C0 #587AD5

Accessibility & contrast

On white

9.43
#24418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#24418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24418F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24418F#FFFFFF#000000##FFFFFF
##24418F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074B92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #24418f;
/* rgb */ color: rgb(36, 65, 143);
/* oklch */ color: oklch(40.1% 0.134 265.4);
Tailwind
colors: {
  custom: {
    50: '#6e75b0',
    500: '#24418f',
    950: '#000000',
  },
}
SCSS
$custom: #24418f;
$custom-light: #6e75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24418f",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 223.738,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.134,
    "h": 265.4
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#24418F
secondary
#B99E55
accent
#B845E3
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #24418F

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

Preview Lab → · Contrast checker → · Palette generator →

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