#24159F#24159F

#24159F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.7% C 0.201 H 273.1°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#24159F
RGBrgb(36, 21, 159)
HSLhsl(247, 77%, 35%)
HSVhsv(247, 87%, 62%)
CMYKcmyk(77.4%, 86.8%, 0%, 37.6%)
CIE-LABlab(21.63, 49.87, -69.56)
CIE-LCHlch(21.63, 85.59, 305.64°)
OKLaboklab(34.68% 0.0108 -0.2011)
OKLCHoklch(34.68% 0.201 273.1)
XYZxyz(7.2516, 3.4138, 33.0709)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24159F #909F15
analogous
#154B9F #24159F #69159F
triadic
#24159F #9F2415 #159F24
tetradic
#24159F #9F154B #909F15 #159F69
square
#24159F #9F154B #909F15 #159F69
split-complementary
#24159F #9F6915 #4B9F15
monochromatic
#0C0733 #180E69 #24159F #301CD5 #5948E7

Accessibility & contrast

On white

12.48
#24159F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24159F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24159F#FFFFFF#000000##FFFFFF
##24159F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24159f;
/* rgb */ color: rgb(36, 21, 159);
/* oklch */ color: oklch(34.7% 0.201 273.1);
Tailwind
colors: {
  custom: {
    50: '#7659bd',
    500: '#24159f',
    950: '#000000',
  },
}
SCSS
$custom: #24159f;
$custom-light: #7659bd;
$custom-dark: #000000;
JSON
{
  "hex": "#24159f",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 159
  },
  "hsl": {
    "h": 246.522,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34681,
    "c": 0.20141,
    "h": 273.1
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24159F

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

Preview Lab → · Contrast checker → · Palette generator →

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