#24239A#24239A

#24239A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.184 H 272.4°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#24239A
RGBrgb(36, 35, 154)
HSLhsl(241, 63%, 37%)
HSVhsv(241, 77%, 60%)
CMYKcmyk(76.6%, 77.3%, 0%, 39.6%)
CIE-LABlab(23.37, 41.46, -63.61)
CIE-LCHlch(23.37, 75.93, 303.10°)
OKLaboklab(35.72% 0.0077 -0.1841)
OKLCHoklch(35.72% 0.184 272.4)
XYZxyz(7.1594, 3.9095, 30.9429)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24239A #999A23
analogous
#235E9A #24239A #60239A
triadic
#24239A #9A2423 #239A24
tetradic
#24239A #9A235E #999A23 #239A60
square
#24239A #9A235E #999A23 #239A60
split-complementary
#24239A #9A6023 #5E9A23
monochromatic
#0D0C36 #181868 #24239A #302ECC #5E5DDA

Accessibility & contrast

On white

11.78
#24239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#24239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24239A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24239A#FFFFFF#000000##FFFFFF
##24239A1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24239a;
/* rgb */ color: rgb(36, 35, 154);
/* oklch */ color: oklch(35.7% 0.184 272.4);
Tailwind
colors: {
  custom: {
    50: '#7460b9',
    500: '#24239a',
    950: '#000000',
  },
}
SCSS
$custom: #24239a;
$custom-light: #7460b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24239a",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 240.504,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35717,
    "c": 0.18428,
    "h": 272.4
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24239A

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

Preview Lab → · Contrast checker → · Palette generator →

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