#24208D#24208D

#24208D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.171 H 273.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#24208D
RGBrgb(36, 32, 141)
HSLhsl(242, 63%, 34%)
HSVhsv(242, 77%, 55%)
CMYKcmyk(74.5%, 77.3%, 0%, 44.7%)
CIE-LABlab(21.32, 38.77, -58.96)
CIE-LCHlch(21.32, 70.56, 303.33°)
OKLaboklab(33.84% 0.0117 -0.1706)
OKLCHoklch(33.84% 0.171 273.9)
XYZxyz(6.0502, 3.3306, 25.5182)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24208D #898D20
analogous
#20538D #24208D #5B208D
triadic
#24208D #8D2420 #208D24
tetradic
#24208D #8D2053 #898D20 #208D5B
square
#24208D #8D2053 #898D20 #208D5B
split-complementary
#24208D #8D5B20 #538D20
monochromatic
#0B0929 #17155B #24208D #312BBF #5550D7

Accessibility & contrast

On white

12.60
#24208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#24208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24208D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24208D#FFFFFF#000000##FFFFFF
##24208D1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #24208d;
/* rgb */ color: rgb(36, 32, 141);
/* oklch */ color: oklch(33.8% 0.171 273.9);
Tailwind
colors: {
  custom: {
    50: '#715db0',
    500: '#24208d',
    950: '#000000',
  },
}
SCSS
$custom: #24208d;
$custom-light: #715db0;
$custom-dark: #000000;
JSON
{
  "hex": "#24208d",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 242.202,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33843,
    "c": 0.17096,
    "h": 273.9
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#24208D
secondary
#B7BA4E
accent
#E642E0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #24208D

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

Preview Lab → · Contrast checker → · Palette generator →

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