#24207B#24207B

#24207B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.148 H 275.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#24207B
RGBrgb(36, 32, 123)
HSLhsl(243, 59%, 30%)
HSVhsv(243, 74%, 48%)
CMYKcmyk(70.7%, 74%, 0%, 51.8%)
CIE-LABlab(19.38, 32.54, -50.82)
CIE-LCHlch(19.38, 60.34, 302.63°)
OKLaboklab(31.89% 0.0153 -0.1468)
OKLCHoklch(31.89% 0.148 275.9)
XYZxyz(4.8180, 2.8377, 19.0289)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24207B #777B20
analogous
#204A7B #24207B #51207B
triadic
#24207B #7B2420 #207B24
tetradic
#24207B #7B204A #777B20 #207B51
square
#24207B #7B204A #777B20 #207B51
split-complementary
#24207B #7B5120 #4A7B20
monochromatic
#08071A #16134A #24207B #322DAC #4C46CF

Accessibility & contrast

On white

13.40
#24207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#24207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24207B
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24207B#FFFFFF#000000##FFFFFF
##24207B1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24207b;
/* rgb */ color: rgb(36, 32, 123);
/* oklch */ color: oklch(31.9% 0.148 275.9);
Tailwind
colors: {
  custom: {
    50: '#6c5ca2',
    500: '#24207b',
    950: '#000000',
  },
}
SCSS
$custom: #24207b;
$custom-light: #6c5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#24207b",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 242.637,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31885,
    "c": 0.14761,
    "h": 275.9
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#24207B
secondary
#AAAE49
accent
#E246DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #24207B

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

Preview Lab → · Contrast checker → · Palette generator →

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