#24519A#24519A

#24519A is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.129 H 259.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#24519A
RGBrgb(36, 81, 154)
HSLhsl(217, 62%, 37%)
HSVhsv(217, 77%, 60%)
CMYKcmyk(76.6%, 47.4%, 0%, 39.6%)
CIE-LABlab(35.19, 11.42, -44.34)
CIE-LCHlch(35.19, 45.78, 284.44°)
OKLaboklab(44.49% -0.0231 -0.1272)
OKLCHoklch(44.49% 0.129 259.7)
XYZxyz(9.5006, 8.5919, 31.7233)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24519A #9A6D24
analogous
#248C9A #24519A #32249A
triadic
#24519A #9A2451 #519A24
tetradic
#24519A #9A248C #9A6D24 #249A32
square
#24519A #9A248C #9A6D24 #249A32
split-complementary
#24519A #9A3224 #8C9A24
monochromatic
#0D1D37 #183768 #24519A #306BCC #5F8EDA

Accessibility & contrast

On white

7.72
#24519A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#24519A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24519A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24519A#FFFFFF#000000##FFFFFF
##24519A1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599D
Deuteranopia (green-blind)
#0C4E99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #24519a;
/* rgb */ color: rgb(36, 81, 154);
/* oklch */ color: oklch(44.5% 0.129 259.7);
Tailwind
colors: {
  custom: {
    50: '#7081b8',
    500: '#24519a',
    950: '#000000',
  },
}
SCSS
$custom: #24519a;
$custom-light: #7081b8;
$custom-dark: #000000;
JSON
{
  "hex": "#24519a",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 217.119,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.12929,
    "h": 259.7
  },
  "luminance": 0.08593
}

Semantic roles & 50–950 ramp

primary
#24519A
secondary
#BF995B
accent
#A743E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #24519A

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

Preview Lab → · Contrast checker → · Palette generator →

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