#24239C#24239C

#24239C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.187 H 272.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#24239C
RGBrgb(36, 35, 156)
HSLhsl(240, 63%, 37%)
HSVhsv(240, 78%, 61%)
CMYKcmyk(76.9%, 77.6%, 0%, 38.8%)
CIE-LABlab(23.59, 42.14, -64.47)
CIE-LCHlch(23.59, 77.02, 303.17°)
OKLaboklab(35.94% 0.0072 -0.1866)
OKLCHoklch(35.94% 0.187 272.2)
XYZxyz(7.3273, 3.9766, 31.8274)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24239C #9B9C23
analogous
#235E9C #24239C #61239C
triadic
#24239C #9C2423 #239C24
tetradic
#24239C #9C235E #9B9C23 #239C61
square
#24239C #9C235E #9B9C23 #239C61
split-complementary
#24239C #9C6123 #5E9C23
monochromatic
#0D0D38 #18186A #24239C #302ECE #5F5EDB

Accessibility & contrast

On white

11.70
#24239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#24239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24239C
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24239C#FFFFFF#000000##FFFFFF
##24239C1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24239c;
/* rgb */ color: rgb(36, 35, 156);
/* oklch */ color: oklch(35.9% 0.187 272.2);
Tailwind
colors: {
  custom: {
    50: '#7460ba',
    500: '#24239c',
    950: '#000000',
  },
}
SCSS
$custom: #24239c;
$custom-light: #7460ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24239c",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 240.496,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35941,
    "c": 0.18674,
    "h": 272.2
  },
  "luminance": 0.03977
}

Semantic roles & 50–950 ramp

primary
#24239C
secondary
#BFC05B
accent
#E641E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24239C

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

Preview Lab → · Contrast checker → · Palette generator →

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