#24207D#24207D

#24207D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.150 H 275.7°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#24207D
RGBrgb(36, 32, 125)
HSLhsl(243, 59%, 31%)
HSVhsv(243, 74%, 49%)
CMYKcmyk(71.2%, 74.4%, 0%, 51%)
CIE-LABlab(19.59, 33.24, -51.74)
CIE-LCHlch(19.59, 61.50, 302.72°)
OKLaboklab(32.1% 0.0149 -0.1495)
OKLCHoklch(32.1% 0.15 275.7)
XYZxyz(4.9445, 2.8883, 19.6950)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24207D #797D20
analogous
#204A7D #24207D #52207D
triadic
#24207D #7D2420 #207D24
tetradic
#24207D #7D204A #797D20 #207D52
square
#24207D #7D204A #797D20 #207D52
split-complementary
#24207D #7D5220 #4A7D20
monochromatic
#08071C #16144C #24207D #322CAE #4D47D0

Accessibility & contrast

On white

13.31
#24207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#24207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24207D
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24207D#FFFFFF#000000##FFFFFF
##24207D1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24207d;
/* rgb */ color: rgb(36, 32, 125);
/* oklch */ color: oklch(32.1% 0.150 275.7);
Tailwind
colors: {
  custom: {
    50: '#6d5ca4',
    500: '#24207d',
    950: '#000000',
  },
}
SCSS
$custom: #24207d;
$custom-light: #6d5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#24207d",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 242.581,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32097,
    "c": 0.15028,
    "h": 275.7
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#24207D
secondary
#ACB049
accent
#E245DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #24207D

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

Preview Lab → · Contrast checker → · Palette generator →

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