#24519F#24519F

#24519F is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.136 H 260.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#24519F
RGBrgb(36, 81, 159)
HSLhsl(218, 63%, 38%)
HSVhsv(218, 77%, 62%)
CMYKcmyk(77.4%, 49.1%, 0%, 37.6%)
CIE-LABlab(35.52, 13.38, -46.81)
CIE-LCHlch(35.52, 48.68, 285.95°)
OKLaboklab(44.85% -0.0223 -0.1345)
OKLCHoklch(44.85% 0.136 260.6)
XYZxyz(9.9257, 8.7620, 33.9623)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24519F #9F7224
analogous
#248E9F #24519F #34249F
triadic
#24519F #9F2451 #519F24
tetradic
#24519F #9F248E #9F7224 #249F34
square
#24519F #9F248E #9F7224 #249F34
split-complementary
#24519F #9F3424 #8E9F24
monochromatic
#0D1E3B #19386D #24519F #306BD0 #628EDB

Accessibility & contrast

On white

7.63
#24519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#24519F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24519F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24519F#FFFFFF#000000##FFFFFF
##24519F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255AA2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #24519f;
/* rgb */ color: rgb(36, 81, 159);
/* oklch */ color: oklch(44.9% 0.136 260.6);
Tailwind
colors: {
  custom: {
    50: '#7181bc',
    500: '#24519f',
    950: '#000000',
  },
}
SCSS
$custom: #24519f;
$custom-light: #7181bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24519f",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 218.049,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.1363,
    "h": 260.6
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#24519F
secondary
#C19D5E
accent
#AA42E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #24519F

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

Preview Lab → · Contrast checker → · Palette generator →

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