#24259A#24259A

#24259A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.182 H 272.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#24259A
RGBrgb(36, 37, 154)
HSLhsl(239, 62%, 37%)
HSVhsv(239, 77%, 60%)
CMYKcmyk(76.6%, 76%, 0%, 39.6%)
CIE-LABlab(23.77, 40.32, -62.95)
CIE-LCHlch(23.77, 74.76, 302.64°)
OKLaboklab(36% 0.0068 -0.1822)
OKLCHoklch(36% 0.182 272.1)
XYZxyz(7.2199, 4.0305, 30.9630)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24259A #9A9924
analogous
#24609A #24259A #5E249A
triadic
#24259A #9A2425 #259A24
tetradic
#24259A #9A2460 #9A9924 #249A5E
square
#24259A #9A2460 #9A9924 #249A5E
split-complementary
#24259A #9A5E24 #609A24
monochromatic
#0D0D37 #181968 #24259A #3031CC #5F60DA

Accessibility & contrast

On white

11.63
#24259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#24259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24259A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24259A#FFFFFF#000000##FFFFFF
##24259A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24259a;
/* rgb */ color: rgb(36, 37, 154);
/* oklch */ color: oklch(36.0% 0.182 272.1);
Tailwind
colors: {
  custom: {
    50: '#7361b9',
    500: '#24259a',
    950: '#000000',
  },
}
SCSS
$custom: #24259a;
$custom-light: #7361b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24259a",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 239.492,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36001,
    "c": 0.18233,
    "h": 272.1
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#24259A
secondary
#BFBE5B
accent
#E443E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24259A

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

Preview Lab → · Contrast checker → · Palette generator →

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