#24249F#24249F

#24249F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.189 H 271.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#24249F
RGBrgb(36, 36, 159)
HSLhsl(240, 63%, 38%)
HSVhsv(240, 77%, 62%)
CMYKcmyk(77.4%, 77.4%, 0%, 37.6%)
CIE-LABlab(24.13, 42.58, -65.42)
CIE-LCHlch(24.13, 78.06, 303.06°)
OKLaboklab(36.42% 0.0063 -0.1894)
OKLCHoklch(36.42% 0.189 271.9)
XYZxyz(7.6143, 4.1392, 33.1918)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24249F #9F9F24
analogous
#24619F #24249F #61249F
triadic
#24249F #9F2424 #249F24
tetradic
#24249F #9F2461 #9F9F24 #249F61
square
#24249F #9F2461 #9F9F24 #249F61
split-complementary
#24249F #9F6124 #619F24
monochromatic
#0D0D3B #19196D #24249F #3030D0 #6262DB

Accessibility & contrast

On white

11.49
#24249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#24249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24249F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24249F#FFFFFF#000000##FFFFFF
##24249F1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24249f;
/* rgb */ color: rgb(36, 36, 159);
/* oklch */ color: oklch(36.4% 0.189 271.9);
Tailwind
colors: {
  custom: {
    50: '#7561bd',
    500: '#24249f',
    950: '#000000',
  },
}
SCSS
$custom: #24249f;
$custom-light: #7561bd;
$custom-dark: #000000;
JSON
{
  "hex": "#24249f",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36415,
    "c": 0.18948,
    "h": 271.9
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#24249F
secondary
#C1C15E
accent
#E642E6
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24249F

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

Preview Lab → · Contrast checker → · Palette generator →

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