#24207A#24207A

#24207A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.146 H 276.1°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#24207A
RGBrgb(36, 32, 122)
HSLhsl(243, 58%, 30%)
HSVhsv(243, 74%, 48%)
CMYKcmyk(70.5%, 73.8%, 0%, 52.2%)
CIE-LABlab(19.28, 32.19, -50.35)
CIE-LCHlch(19.28, 59.76, 302.59°)
OKLaboklab(31.78% 0.0154 -0.1455)
OKLCHoklch(31.78% 0.146 276.1)
XYZxyz(4.7558, 2.8128, 18.7009)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24207A #767A20
analogous
#20497A #24207A #51207A
triadic
#24207A #7A2420 #207A24
tetradic
#24207A #7A2049 #767A20 #207A51
square
#24207A #7A2049 #767A20 #207A51
split-complementary
#24207A #7A5120 #497A20
monochromatic
#070719 #16134A #24207A #322DAA #4C46CE

Accessibility & contrast

On white

13.44
#24207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#24207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24207A
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24207A#FFFFFF#000000##FFFFFF
##24207A1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24207a;
/* rgb */ color: rgb(36, 32, 122);
/* oklch */ color: oklch(31.8% 0.146 276.1);
Tailwind
colors: {
  custom: {
    50: '#6c5ca1',
    500: '#24207a',
    950: '#000000',
  },
}
SCSS
$custom: #24207a;
$custom-light: #6c5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#24207a",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 242.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31779,
    "c": 0.14628,
    "h": 276.1
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#24207A
secondary
#A9AD49
accent
#E246DB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #24207A

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

Preview Lab → · Contrast checker → · Palette generator →

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