#24299A#24299A

#24299A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.178 H 271.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#24299A
RGBrgb(36, 41, 154)
HSLhsl(237, 62%, 37%)
HSVhsv(237, 77%, 60%)
CMYKcmyk(76.6%, 73.4%, 0%, 39.6%)
CIE-LABlab(24.62, 37.95, -61.55)
CIE-LCHlch(24.62, 72.31, 301.66°)
OKLaboklab(36.6% 0.0049 -0.1782)
OKLCHoklch(36.6% 0.178 271.6)
XYZxyz(7.3513, 4.2933, 31.0068)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24299A #9A9524
analogous
#24649A #24299A #5A249A
triadic
#24299A #9A2429 #299A24
tetradic
#24299A #9A2464 #9A9524 #249A5A
square
#24299A #9A2464 #9A9524 #249A5A
split-complementary
#24299A #9A5A24 #649A24
monochromatic
#0D0F37 #181C68 #24299A #3036CC #5F64DA

Accessibility & contrast

On white

11.30
#24299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#24299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24299A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24299A#FFFFFF#000000##FFFFFF
##24299A1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24299a;
/* rgb */ color: rgb(36, 41, 154);
/* oklch */ color: oklch(36.6% 0.178 271.6);
Tailwind
colors: {
  custom: {
    50: '#7364b9',
    500: '#24299a',
    950: '#000000',
  },
}
SCSS
$custom: #24299a;
$custom-light: #7364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#24299a",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 237.458,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36604,
    "c": 0.17823,
    "h": 271.6
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#24299A
secondary
#BFBA5B
accent
#DE43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #24299A

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

Preview Lab → · Contrast checker → · Palette generator →

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