#24249B#24249B

#24249B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.185 H 272.2°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#24249B
RGBrgb(36, 36, 155)
HSLhsl(240, 62%, 37%)
HSVhsv(240, 77%, 61%)
CMYKcmyk(76.8%, 76.8%, 0%, 39.2%)
CIE-LABlab(23.68, 41.24, -63.71)
CIE-LCHlch(23.68, 75.89, 302.91°)
OKLaboklab(35.97% 0.007 -0.1844)
OKLCHoklch(35.97% 0.185 272.2)
XYZxyz(7.2728, 4.0026, 31.3933)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24249B #9B9B24
analogous
#24609B #24249B #60249B
triadic
#24249B #9B2424 #249B24
tetradic
#24249B #9B2460 #9B9B24 #249B60
square
#24249B #9B2460 #9B9B24 #249B60
split-complementary
#24249B #9B6024 #609B24
monochromatic
#0D0D38 #181869 #24249B #3030CD #5F5FDA

Accessibility & contrast

On white

11.66
#24249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#24249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24249B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24249B#FFFFFF#000000##FFFFFF
##24249B1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24249b;
/* rgb */ color: rgb(36, 36, 155);
/* oklch */ color: oklch(36.0% 0.185 272.2);
Tailwind
colors: {
  custom: {
    50: '#7461ba',
    500: '#24249b',
    950: '#000000',
  },
}
SCSS
$custom: #24249b;
$custom-light: #7461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24249b",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 240,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.18455,
    "h": 272.2
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#24249B
secondary
#BFBF5C
accent
#E542E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24249B

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

Preview Lab → · Contrast checker → · Palette generator →

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