#24207C#24207C

#24207C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.149 H 275.8°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#24207C
RGBrgb(36, 32, 124)
HSLhsl(243, 59%, 31%)
HSVhsv(243, 74%, 49%)
CMYKcmyk(71%, 74.2%, 0%, 51.4%)
CIE-LABlab(19.49, 32.89, -51.28)
CIE-LCHlch(19.49, 60.92, 302.68°)
OKLaboklab(31.99% 0.0151 -0.1482)
OKLCHoklch(31.99% 0.149 275.8)
XYZxyz(4.8810, 2.8629, 19.3602)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24207C #787C20
analogous
#204A7C #24207C #52207C
triadic
#24207C #7C2420 #207C24
tetradic
#24207C #7C204A #787C20 #207C52
square
#24207C #7C204A #787C20 #207C52
split-complementary
#24207C #7C5220 #4A7C20
monochromatic
#08071B #16134B #24207C #322DAD #4D47CF

Accessibility & contrast

On white

13.35
#24207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24207C
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24207C#FFFFFF#000000##FFFFFF
##24207C1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24207c;
/* rgb */ color: rgb(36, 32, 124);
/* oklch */ color: oklch(32.0% 0.149 275.8);
Tailwind
colors: {
  custom: {
    50: '#6c5ca3',
    500: '#24207c',
    950: '#000000',
  },
}
SCSS
$custom: #24207c;
$custom-light: #6c5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#24207c",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 242.609,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31991,
    "c": 0.14895,
    "h": 275.8
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24207C

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

Preview Lab → · Contrast checker → · Palette generator →

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