#24259B#24259B

#24259B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.184 H 272.1°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#24259B
RGBrgb(36, 37, 155)
HSLhsl(239, 62%, 37%)
HSVhsv(239, 77%, 61%)
CMYKcmyk(76.8%, 76.1%, 0%, 39.2%)
CIE-LABlab(23.88, 40.66, -63.38)
CIE-LCHlch(23.88, 75.30, 302.68°)
OKLaboklab(36.11% 0.0066 -0.1835)
OKLCHoklch(36.11% 0.184 272.1)
XYZxyz(7.3035, 4.0640, 31.4035)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24259B #9B9A24
analogous
#24609B #24259B #5F249B
triadic
#24259B #9B2425 #259B24
tetradic
#24259B #9B2460 #9B9A24 #249B5F
square
#24259B #9B2460 #9B9A24 #249B5F
split-complementary
#24259B #9B5F24 #609B24
monochromatic
#0D0D38 #181969 #24259B #3031CD #5F60DA

Accessibility & contrast

On white

11.58
#24259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24259B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24259B#FFFFFF#000000##FFFFFF
##24259B1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24259b;
/* rgb */ color: rgb(36, 37, 155);
/* oklch */ color: oklch(36.1% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#7461ba',
    500: '#24259b',
    950: '#000000',
  },
}
SCSS
$custom: #24259b;
$custom-light: #7461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24259b",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 239.496,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36112,
    "c": 0.18358,
    "h": 272.1
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#24259B
secondary
#BFBE5C
accent
#E442E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24259B

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

Preview Lab → · Contrast checker → · Palette generator →

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