#24207F#24207F

#24207F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.153 H 275.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#24207F
RGBrgb(36, 32, 127)
HSLhsl(243, 60%, 31%)
HSVhsv(243, 75%, 50%)
CMYKcmyk(71.7%, 74.8%, 0%, 50.2%)
CIE-LABlab(19.80, 33.94, -52.67)
CIE-LCHlch(19.80, 62.66, 302.80°)
OKLaboklab(32.31% 0.0145 -0.1522)
OKLCHoklch(32.31% 0.153 275.4)
XYZxyz(5.0736, 2.9399, 20.3746)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24207F #7B7F20
analogous
#204B7F #24207F #53207F
triadic
#24207F #7F2420 #207F24
tetradic
#24207F #7F204B #7B7F20 #207F53
square
#24207F #7F204B #7B7F20 #207F53
split-complementary
#24207F #7F5320 #4B7F20
monochromatic
#08071D #16144E #24207F #322CB0 #4E48D1

Accessibility & contrast

On white

13.22
#24207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#24207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24207F
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24207F#FFFFFF#000000##FFFFFF
##24207F1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24207f;
/* rgb */ color: rgb(36, 32, 127);
/* oklch */ color: oklch(32.3% 0.153 275.4);
Tailwind
colors: {
  custom: {
    50: '#6d5da5',
    500: '#24207f',
    950: '#000000',
  },
}
SCSS
$custom: #24207f;
$custom-light: #6d5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#24207f",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 242.526,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32311,
    "c": 0.15292,
    "h": 275.4
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24207F

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

Preview Lab → · Contrast checker → · Palette generator →

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