#24239B#24239B

#24239B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.186 H 272.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#24239B
RGBrgb(36, 35, 155)
HSLhsl(241, 63%, 37%)
HSVhsv(241, 77%, 61%)
CMYKcmyk(76.8%, 77.4%, 0%, 39.2%)
CIE-LABlab(23.48, 41.80, -64.04)
CIE-LCHlch(23.48, 76.48, 303.13°)
OKLaboklab(35.83% 0.0074 -0.1854)
OKLCHoklch(35.83% 0.186 272.3)
XYZxyz(7.2430, 3.9429, 31.3833)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24239B #9A9B23
analogous
#235E9B #24239B #60239B
triadic
#24239B #9B2423 #239B24
tetradic
#24239B #9B235E #9A9B23 #239B60
square
#24239B #9B235E #9A9B23 #239B60
split-complementary
#24239B #9B6023 #5E9B23
monochromatic
#0D0C37 #181869 #24239B #302ECD #5F5EDB

Accessibility & contrast

On white

11.74
#24239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#24239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24239B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24239B#FFFFFF#000000##FFFFFF
##24239B1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24239b;
/* rgb */ color: rgb(36, 35, 155);
/* oklch */ color: oklch(35.8% 0.186 272.3);
Tailwind
colors: {
  custom: {
    50: '#7460ba',
    500: '#24239b',
    950: '#000000',
  },
}
SCSS
$custom: #24239b;
$custom-light: #7460ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24239b",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 240.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35829,
    "c": 0.18551,
    "h": 272.3
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#24239B
secondary
#BFBF5A
accent
#E642E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24239B

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

Preview Lab → · Contrast checker → · Palette generator →

#24239B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva