#24418B#24418B

#24418B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.128 H 265.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#24418B
RGBrgb(36, 65, 139)
HSLhsl(223, 59%, 34%)
HSVhsv(223, 74%, 55%)
CMYKcmyk(74.1%, 53.2%, 0%, 45.5%)
CIE-LABlab(29.46, 16.36, -44.41)
CIE-LCHlch(29.46, 47.33, 290.22°)
OKLaboklab(39.77% -0.0112 -0.1277)
OKLCHoklch(39.77% 0.128 265)
XYZxyz(7.2764, 6.0190, 25.1994)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24418B #8B6E24
analogous
#24758B #24418B #3B248B
triadic
#24418B #8B2441 #418B24
tetradic
#24418B #8B2475 #8B6E24 #248B3B
square
#24418B #8B2475 #8B6E24 #248B3B
split-complementary
#24418B #8B3B24 #758B24
monochromatic
#0B142A #172A5A #24418B #3158BC #5679D3

Accessibility & contrast

On white

9.53
#24418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#24418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24418B
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24418B#FFFFFF#000000##FFFFFF
##24418B1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114A8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #24418b;
/* rgb */ color: rgb(36, 65, 139);
/* oklch */ color: oklch(39.8% 0.128 265.0);
Tailwind
colors: {
  custom: {
    50: '#6d75ad',
    500: '#24418b',
    950: '#000000',
  },
}
SCSS
$custom: #24418b;
$custom-light: #6d75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24418b",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 223.107,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39772,
    "c": 0.12822,
    "h": 265
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#24418B
secondary
#B79B53
accent
#B646E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #24418B

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

Preview Lab → · Contrast checker → · Palette generator →

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