#24208F#24208F

#24208F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.173 H 273.7°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#24208F
RGBrgb(36, 32, 143)
HSLhsl(242, 63%, 34%)
HSVhsv(242, 78%, 56%)
CMYKcmyk(74.8%, 77.6%, 0%, 43.9%)
CIE-LABlab(21.54, 39.45, -59.84)
CIE-LCHlch(21.54, 71.67, 303.39°)
OKLaboklab(34.07% 0.0112 -0.1731)
OKLCHoklch(34.07% 0.173 273.7)
XYZxyz(6.2003, 3.3906, 26.3090)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24208F #8B8F20
analogous
#20548F #24208F #5C208F
triadic
#24208F #8F2420 #208F24
tetradic
#24208F #8F2054 #8B8F20 #208F5C
square
#24208F #8F2054 #8B8F20 #208F5C
split-complementary
#24208F #8F5C20 #548F20
monochromatic
#0B0A2B #17155D #24208F #312BC1 #5651D8

Accessibility & contrast

On white

12.51
#24208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#24208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24208F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24208F#FFFFFF#000000##FFFFFF
##24208F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24208f;
/* rgb */ color: rgb(36, 32, 143);
/* oklch */ color: oklch(34.1% 0.173 273.7);
Tailwind
colors: {
  custom: {
    50: '#715db1',
    500: '#24208f',
    950: '#000000',
  },
}
SCSS
$custom: #24208f;
$custom-light: #715db1;
$custom-dark: #000000;
JSON
{
  "hex": "#24208f",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 242.162,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34066,
    "c": 0.17347,
    "h": 273.7
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#24208F
secondary
#B8BB4F
accent
#E641E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #24208F

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

Preview Lab → · Contrast checker → · Palette generator →

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