#24159E#24159E

#24159E is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.6% C 0.200 H 273.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#24159E
RGBrgb(36, 21, 158)
HSLhsl(247, 77%, 35%)
HSVhsv(247, 87%, 62%)
CMYKcmyk(77.2%, 86.7%, 0%, 38%)
CIE-LABlab(21.50, 49.57, -69.16)
CIE-LCHlch(21.50, 85.09, 305.63°)
OKLaboklab(34.56% 0.0111 -0.2)
OKLCHoklch(34.56% 0.2 273.2)
XYZxyz(7.1652, 3.3793, 32.6158)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24159E #8F9E15
analogous
#154B9E #24159E #68159E
triadic
#24159E #9E2415 #159E24
tetradic
#24159E #9E154B #8F9E15 #159E68
square
#24159E #9E154B #8F9E15 #159E68
split-complementary
#24159E #9E6815 #4B9E15
monochromatic
#0B0732 #180E68 #24159E #301CD4 #5847E7

Accessibility & contrast

On white

12.53
#24159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#24159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24159E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24159E#FFFFFF#000000##FFFFFF
##24159E1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24159e;
/* rgb */ color: rgb(36, 21, 158);
/* oklch */ color: oklch(34.6% 0.200 273.2);
Tailwind
colors: {
  custom: {
    50: '#7659bc',
    500: '#24159e',
    950: '#000000',
  },
}
SCSS
$custom: #24159e;
$custom-light: #7659bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24159e",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 246.569,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34557,
    "c": 0.20027,
    "h": 273.2
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#24159E
secondary
#B9C747
accent
#F335DE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24159E

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

Preview Lab → · Contrast checker → · Palette generator →

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