#24259C#24259C

#24259C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.185 H 272.0°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#24259C
RGBrgb(36, 37, 156)
HSLhsl(240, 63%, 38%)
HSVhsv(240, 77%, 61%)
CMYKcmyk(76.9%, 76.3%, 0%, 38.8%)
CIE-LABlab(23.99, 41.01, -63.81)
CIE-LCHlch(23.99, 75.85, 302.73°)
OKLaboklab(36.22% 0.0064 -0.1847)
OKLCHoklch(36.22% 0.185 272)
XYZxyz(7.3878, 4.0977, 31.8476)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24259C #9C9B24
analogous
#24619C #24259C #5F249C
triadic
#24259C #9C2425 #259C24
tetradic
#24259C #9C2461 #9C9B24 #249C5F
square
#24259C #9C2461 #9C9B24 #249C5F
split-complementary
#24259C #9C5F24 #619C24
monochromatic
#0D0D39 #19196A #24259C #2F31CE #6061DA

Accessibility & contrast

On white

11.54
#24259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#24259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24259C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24259C#FFFFFF#000000##FFFFFF
##24259C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24259c;
/* rgb */ color: rgb(36, 37, 156);
/* oklch */ color: oklch(36.2% 0.185 272.0);
Tailwind
colors: {
  custom: {
    50: '#7461ba',
    500: '#24259c',
    950: '#000000',
  },
}
SCSS
$custom: #24259c;
$custom-light: #7461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24259c",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 239.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36222,
    "c": 0.18482,
    "h": 272
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#24259C
secondary
#BFBF5C
accent
#E442E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24259C

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

Preview Lab → · Contrast checker → · Palette generator →

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