#24208A#24208A

#24208A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.167 H 274.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#24208A
RGBrgb(36, 32, 138)
HSLhsl(242, 62%, 33%)
HSVhsv(242, 77%, 54%)
CMYKcmyk(73.9%, 76.8%, 0%, 45.9%)
CIE-LABlab(20.99, 37.75, -57.64)
CIE-LCHlch(20.99, 68.90, 303.22°)
OKLaboklab(33.51% 0.0123 -0.1667)
OKLCHoklch(33.51% 0.167 274.2)
XYZxyz(5.8300, 3.2425, 24.3584)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24208A #868A20
analogous
#20518A #24208A #59208A
triadic
#24208A #8A2420 #208A24
tetradic
#24208A #8A2051 #868A20 #208A59
square
#24208A #8A2051 #868A20 #208A59
split-complementary
#24208A #8A5920 #518A20
monochromatic
#0A0927 #171458 #24208A #312CBC #534ED6

Accessibility & contrast

On white

12.74
#24208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#24208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24208A
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24208A#FFFFFF#000000##FFFFFF
##24208A1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002D88
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #24208a;
/* rgb */ color: rgb(36, 32, 138);
/* oklch */ color: oklch(33.5% 0.167 274.2);
Tailwind
colors: {
  custom: {
    50: '#705dad',
    500: '#24208a',
    950: '#000000',
  },
}
SCSS
$custom: #24208a;
$custom-light: #705dad;
$custom-dark: #000000;
JSON
{
  "hex": "#24208a",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 242.264,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3351,
    "c": 0.16716,
    "h": 274.2
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#24208A
secondary
#B5B94D
accent
#E542DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #24208A

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

Preview Lab → · Contrast checker → · Palette generator →

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