#24419E#24419E

#24419E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.155 H 266.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#24419E
RGBrgb(36, 65, 158)
HSLhsl(226, 63%, 38%)
HSVhsv(226, 77%, 62%)
CMYKcmyk(77.2%, 58.9%, 0%, 38%)
CIE-LABlab(30.93, 23.79, -53.63)
CIE-LCHlch(30.93, 58.67, 293.92°)
OKLaboklab(41.35% -0.0099 -0.1548)
OKLCHoklch(41.35% 0.155 266.3)
XYZxyz(8.7872, 6.6233, 33.1564)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24419E #9E8124
analogous
#247E9E #24419E #44249E
triadic
#24419E #9E2441 #419E24
tetradic
#24419E #9E247E #9E8124 #249E44
square
#24419E #9E247E #9E8124 #249E44
split-complementary
#24419E #9E4424 #7E9E24
monochromatic
#0D183A #192C6C #24419E #2F56D0 #617EDB

Accessibility & contrast

On white

9.03
#24419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#24419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24419E
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24419E#FFFFFF#000000##FFFFFF
##24419E1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #24419e;
/* rgb */ color: rgb(36, 65, 158);
/* oklch */ color: oklch(41.3% 0.155 266.3);
Tailwind
colors: {
  custom: {
    50: '#7275bb',
    500: '#24419e',
    950: '#000000',
  },
}
SCSS
$custom: #24419e;
$custom-light: #7275bb;
$custom-dark: #000000;
JSON
{
  "hex": "#24419e",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 225.738,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41347,
    "c": 0.15516,
    "h": 266.3
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#24419E
secondary
#C0A95E
accent
#BF42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #24419E

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

Preview Lab → · Contrast checker → · Palette generator →

#24419E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva