#24249C#24249C

#24249C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.186 H 272.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#24249C
RGBrgb(36, 36, 156)
HSLhsl(240, 63%, 38%)
HSVhsv(240, 77%, 61%)
CMYKcmyk(76.9%, 76.9%, 0%, 38.8%)
CIE-LABlab(23.79, 41.58, -64.14)
CIE-LCHlch(23.79, 76.44, 302.95°)
OKLaboklab(36.08% 0.0068 -0.1857)
OKLCHoklch(36.08% 0.186 272.1)
XYZxyz(7.3572, 4.0363, 31.8374)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24249C #9C9C24
analogous
#24609C #24249C #60249C
triadic
#24249C #9C2424 #249C24
tetradic
#24249C #9C2460 #9C9C24 #249C60
square
#24249C #9C2460 #9C9C24 #249C60
split-complementary
#24249C #9C6024 #609C24
monochromatic
#0D0D39 #19196A #24249C #2F2FCE #6060DA

Accessibility & contrast

On white

11.62
#24249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#24249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24249C
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24249C#FFFFFF#000000##FFFFFF
##24249C1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #24249c;
/* rgb */ color: rgb(36, 36, 156);
/* oklch */ color: oklch(36.1% 0.186 272.1);
Tailwind
colors: {
  custom: {
    50: '#7461ba',
    500: '#24249c',
    950: '#000000',
  },
}
SCSS
$custom: #24249c;
$custom-light: #7461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24249c",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 240,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.18579,
    "h": 272.1
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24249C

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

Preview Lab → · Contrast checker → · Palette generator →

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