#24249A#24249A

#24249A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.183 H 272.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#24249A
RGBrgb(36, 36, 154)
HSLhsl(240, 62%, 37%)
HSVhsv(240, 77%, 60%)
CMYKcmyk(76.6%, 76.6%, 0%, 39.6%)
CIE-LABlab(23.57, 40.90, -63.28)
CIE-LCHlch(23.57, 75.35, 302.87°)
OKLaboklab(35.86% 0.0072 -0.1832)
OKLCHoklch(35.86% 0.183 272.3)
XYZxyz(7.1892, 3.9692, 30.9528)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24249A #9A9A24
analogous
#245F9A #24249A #5F249A
triadic
#24249A #9A2424 #249A24
tetradic
#24249A #9A245F #9A9A24 #249A5F
square
#24249A #9A245F #9A9A24 #249A5F
split-complementary
#24249A #9A5F24 #5F9A24
monochromatic
#0D0D37 #181868 #24249A #3030CC #5F5FDA

Accessibility & contrast

On white

11.71
#24249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#24249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24249A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24249A#FFFFFF#000000##FFFFFF
##24249A1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24249a;
/* rgb */ color: rgb(36, 36, 154);
/* oklch */ color: oklch(35.9% 0.183 272.3);
Tailwind
colors: {
  custom: {
    50: '#7460b9',
    500: '#24249a',
    950: '#000000',
  },
}
SCSS
$custom: #24249a;
$custom-light: #7460b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24249a",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 240,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35858,
    "c": 0.18331,
    "h": 272.3
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#24249A
secondary
#BFBF5B
accent
#E543E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24249A

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

Preview Lab → · Contrast checker → · Palette generator →

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