#24299D#24299D

#24299D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.182 H 271.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#24299D
RGBrgb(36, 41, 157)
HSLhsl(238, 63%, 38%)
HSVhsv(238, 77%, 62%)
CMYKcmyk(77.1%, 73.9%, 0%, 38.4%)
CIE-LABlab(24.93, 39.01, -62.86)
CIE-LCHlch(24.93, 73.98, 301.82°)
OKLaboklab(36.93% 0.0045 -0.182)
OKLCHoklch(36.93% 0.182 271.4)
XYZxyz(7.6042, 4.3944, 32.3392)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24299D #9D9824
analogous
#24659D #24299D #5C249D
triadic
#24299D #9D2429 #299D24
tetradic
#24299D #9D2465 #9D9824 #249D5C
square
#24299D #9D2465 #9D9824 #249D5C
split-complementary
#24299D #9D5C24 #659D24
monochromatic
#0D0F39 #191C6B #24299D #2F36CF #6166DB

Accessibility & contrast

On white

11.18
#24299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#24299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24299D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24299D#FFFFFF#000000##FFFFFF
##24299D1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24299d;
/* rgb */ color: rgb(36, 41, 157);
/* oklch */ color: oklch(36.9% 0.182 271.4);
Tailwind
colors: {
  custom: {
    50: '#7464bb',
    500: '#24299d',
    950: '#000000',
  },
}
SCSS
$custom: #24299d;
$custom-light: #7464bb;
$custom-dark: #000000;
JSON
{
  "hex": "#24299d",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 237.521,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36925,
    "c": 0.18204,
    "h": 271.4
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24299D

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

Preview Lab → · Contrast checker → · Palette generator →

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