#24259F#24259F

#24259F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.189 H 271.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#24259F
RGBrgb(36, 37, 159)
HSLhsl(240, 63%, 38%)
HSVhsv(240, 77%, 62%)
CMYKcmyk(77.4%, 76.7%, 0%, 37.6%)
CIE-LABlab(24.32, 42.02, -65.09)
CIE-LCHlch(24.32, 77.48, 302.85°)
OKLaboklab(36.56% 0.0059 -0.1884)
OKLCHoklch(36.56% 0.189 271.8)
XYZxyz(7.6450, 4.2006, 33.2020)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24259F #9F9E24
analogous
#24629F #24259F #60249F
triadic
#24259F #9F2425 #259F24
tetradic
#24259F #9F2462 #9F9E24 #249F60
square
#24259F #9F2462 #9F9E24 #249F60
split-complementary
#24259F #9F6024 #629F24
monochromatic
#0D0E3B #19196D #24259F #3031D0 #6263DB

Accessibility & contrast

On white

11.41
#24259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#24259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24259F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24259F#FFFFFF#000000##FFFFFF
##24259F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24259f;
/* rgb */ color: rgb(36, 37, 159);
/* oklch */ color: oklch(36.6% 0.189 271.8);
Tailwind
colors: {
  custom: {
    50: '#7561bd',
    500: '#24259f',
    950: '#000000',
  },
}
SCSS
$custom: #24259f;
$custom-light: #7561bd;
$custom-dark: #000000;
JSON
{
  "hex": "#24259f",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 239.512,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36555,
    "c": 0.18853,
    "h": 271.8
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#24259F
secondary
#C1C05E
accent
#E542E6
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24259F

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

Preview Lab → · Contrast checker → · Palette generator →

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