#24299C#24299C

#24299C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.181 H 271.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#24299C
RGBrgb(36, 41, 156)
HSLhsl(238, 63%, 38%)
HSVhsv(238, 77%, 61%)
CMYKcmyk(76.9%, 73.7%, 0%, 38.8%)
CIE-LABlab(24.83, 38.66, -62.43)
CIE-LCHlch(24.83, 73.43, 301.77°)
OKLaboklab(36.82% 0.0046 -0.1807)
OKLCHoklch(36.82% 0.181 271.5)
XYZxyz(7.5192, 4.3604, 31.8914)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24299C #9C9724
analogous
#24659C #24299C #5B249C
triadic
#24299C #9C2429 #299C24
tetradic
#24299C #9C2465 #9C9724 #249C5B
square
#24299C #9C2465 #9C9724 #249C5B
split-complementary
#24299C #9C5B24 #659C24
monochromatic
#0D0F39 #191C6A #24299C #2F36CE #6065DA

Accessibility & contrast

On white

11.22
#24299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#24299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24299C
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24299C#FFFFFF#000000##FFFFFF
##24299C1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24299c;
/* rgb */ color: rgb(36, 41, 156);
/* oklch */ color: oklch(36.8% 0.181 271.5);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#24299c',
    950: '#000000',
  },
}
SCSS
$custom: #24299c;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24299c",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 237.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36817,
    "c": 0.18077,
    "h": 271.5
  },
  "luminance": 0.04361
}

Semantic roles & 50–950 ramp

primary
#24299C
secondary
#BFBB5C
accent
#DF42E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #24299C

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

Preview Lab → · Contrast checker → · Palette generator →

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