#24519B#24519B

#24519B is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.131 H 259.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#24519B
RGBrgb(36, 81, 155)
HSLhsl(217, 62%, 37%)
HSVhsv(217, 77%, 61%)
CMYKcmyk(76.8%, 47.7%, 0%, 39.2%)
CIE-LABlab(35.25, 11.81, -44.83)
CIE-LCHlch(35.25, 46.36, 284.76°)
OKLaboklab(44.56% -0.023 -0.1287)
OKLCHoklch(44.56% 0.131 259.9)
XYZxyz(9.5842, 8.6254, 32.1637)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24519B #9B6E24
analogous
#248D9B #24519B #32249B
triadic
#24519B #9B2451 #519B24
tetradic
#24519B #9B248D #9B6E24 #249B32
square
#24519B #9B248D #9B6E24 #249B32
split-complementary
#24519B #9B3224 #8D9B24
monochromatic
#0D1D38 #183769 #24519B #306BCD #5F8EDA

Accessibility & contrast

On white

7.71
#24519B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#24519B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24519B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24519B#FFFFFF#000000##FFFFFF
##24519B1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#084E9A
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #24519b;
/* rgb */ color: rgb(36, 81, 155);
/* oklch */ color: oklch(44.6% 0.131 259.9);
Tailwind
colors: {
  custom: {
    50: '#7081b9',
    500: '#24519b',
    950: '#000000',
  },
}
SCSS
$custom: #24519b;
$custom-light: #7081b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24519b",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 217.311,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44557,
    "c": 0.1307,
    "h": 259.9
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#24519B
secondary
#BF995C
accent
#A842E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #24519B

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

Preview Lab → · Contrast checker → · Palette generator →

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