#24207E#24207E

#24207E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.152 H 275.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#24207E
RGBrgb(36, 32, 126)
HSLhsl(243, 59%, 31%)
HSVhsv(243, 75%, 49%)
CMYKcmyk(71.4%, 74.6%, 0%, 50.6%)
CIE-LABlab(19.70, 33.59, -52.21)
CIE-LCHlch(19.70, 62.08, 302.76°)
OKLaboklab(32.2% 0.0147 -0.1509)
OKLCHoklch(32.2% 0.152 275.6)
XYZxyz(5.0087, 2.9140, 20.0331)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24207E #7A7E20
analogous
#204B7E #24207E #53207E
triadic
#24207E #7E2420 #207E24
tetradic
#24207E #7E204B #7A7E20 #207E53
square
#24207E #7E204B #7A7E20 #207E53
split-complementary
#24207E #7E5320 #4B7E20
monochromatic
#08071C #16144D #24207E #322CAF #4E48D0

Accessibility & contrast

On white

13.27
#24207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24207E
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24207E#FFFFFF#000000##FFFFFF
##24207E1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24207e;
/* rgb */ color: rgb(36, 32, 126);
/* oklch */ color: oklch(32.2% 0.152 275.6);
Tailwind
colors: {
  custom: {
    50: '#6d5da4',
    500: '#24207e',
    950: '#000000',
  },
}
SCSS
$custom: #24207e;
$custom-light: #6d5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#24207e",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 242.553,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.15161,
    "h": 275.6
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#24207E
secondary
#ACB149
accent
#E345DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #24207E

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

Preview Lab → · Contrast checker → · Palette generator →

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