#24139A#24139A

#24139A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.197 H 273.7°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#24139A
RGBrgb(36, 19, 154)
HSLhsl(248, 78%, 34%)
HSVhsv(248, 88%, 60%)
CMYKcmyk(76.6%, 87.7%, 0%, 39.6%)
CIE-LABlab(20.72, 49.18, -68.00)
CIE-LCHlch(20.72, 83.92, 305.88°)
OKLaboklab(33.88% 0.0128 -0.1966)
OKLCHoklch(33.88% 0.197 273.7)
XYZxyz(6.7912, 3.1732, 30.8202)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24139A #899A13
analogous
#13459A #24139A #68139A
triadic
#24139A #9A2413 #139A24
tetradic
#24139A #9A1345 #899A13 #139A68
square
#24139A #9A1345 #899A13 #139A68
split-complementary
#24139A #9A6813 #459A13
monochromatic
#0B062D #170C64 #24139A #311AD0 #5540E7

Accessibility & contrast

On white

12.85
#24139A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#24139A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24139A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24139A#FFFFFF#000000##FFFFFF
##24139A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389E
Deuteranopia (green-blind)
#002B98
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #24139a;
/* rgb */ color: rgb(36, 19, 154);
/* oklch */ color: oklch(33.9% 0.197 273.7);
Tailwind
colors: {
  custom: {
    50: '#7557b9',
    500: '#24139a',
    950: '#000000',
  },
}
SCSS
$custom: #24139a;
$custom-light: #7557b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24139a",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 154
  },
  "hsl": {
    "h": 247.556,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3388,
    "c": 0.19697,
    "h": 273.7
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#24139A
secondary
#B7C741
accent
#F533DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #24139A

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

Preview Lab → · Contrast checker → · Palette generator →

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