#24418C#24418C

#24418C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.130 H 265.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#24418C
RGBrgb(36, 65, 140)
HSLhsl(223, 59%, 35%)
HSVhsv(223, 74%, 55%)
CMYKcmyk(74.3%, 53.6%, 0%, 45.1%)
CIE-LABlab(29.53, 16.75, -44.91)
CIE-LCHlch(29.53, 47.93, 290.45°)
OKLaboklab(39.85% -0.0111 -0.1292)
OKLCHoklch(39.85% 0.13 265.1)
XYZxyz(7.3498, 6.0483, 25.5860)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24418C #8C6F24
analogous
#24758C #24418C #3B248C
triadic
#24418C #8C2441 #418C24
tetradic
#24418C #8C2475 #8C6F24 #248C3B
square
#24418C #8C2475 #8C6F24 #248C3B
split-complementary
#24418C #8C3B24 #758C24
monochromatic
#0B142B #172A5B #24418C #3158BD #577AD4

Accessibility & contrast

On white

9.50
#24418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#24418C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24418C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24418C#FFFFFF#000000##FFFFFF
##24418C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #24418c;
/* rgb */ color: rgb(36, 65, 140);
/* oklch */ color: oklch(39.9% 0.130 265.1);
Tailwind
colors: {
  custom: {
    50: '#6e75ae',
    500: '#24418c',
    950: '#000000',
  },
}
SCSS
$custom: #24418c;
$custom-light: #6e75ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24418c",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 223.269,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39851,
    "c": 0.12967,
    "h": 265.1
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#24418C
secondary
#B89C54
accent
#B746E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #24418C

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

Preview Lab → · Contrast checker → · Palette generator →

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