#24208B#24208B

#24208B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.168 H 274.1°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#24208B
RGBrgb(36, 32, 139)
HSLhsl(242, 63%, 34%)
HSVhsv(242, 77%, 55%)
CMYKcmyk(74.1%, 77%, 0%, 45.5%)
CIE-LABlab(21.10, 38.09, -58.08)
CIE-LCHlch(21.10, 69.45, 303.26°)
OKLaboklab(33.62% 0.0121 -0.168)
OKLCHoklch(33.62% 0.168 274.1)
XYZxyz(5.9027, 3.2716, 24.7415)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24208B #878B20
analogous
#20518B #24208B #59208B
triadic
#24208B #8B2420 #208B24
tetradic
#24208B #8B2051 #878B20 #208B59
square
#24208B #8B2051 #878B20 #208B59
split-complementary
#24208B #8B5920 #518B20
monochromatic
#0A0928 #171559 #24208B #312BBD #544FD6

Accessibility & contrast

On white

12.69
#24208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24208B
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24208B#FFFFFF#000000##FFFFFF
##24208B1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#002E89
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #24208b;
/* rgb */ color: rgb(36, 32, 139);
/* oklch */ color: oklch(33.6% 0.168 274.1);
Tailwind
colors: {
  custom: {
    50: '#705dae',
    500: '#24208b',
    950: '#000000',
  },
}
SCSS
$custom: #24208b;
$custom-light: #705dae;
$custom-dark: #000000;
JSON
{
  "hex": "#24208b",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 242.243,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33621,
    "c": 0.16843,
    "h": 274.1
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#24208B
secondary
#B5BA4D
accent
#E642E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #24208B

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

Preview Lab → · Contrast checker → · Palette generator →

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