#24407E#24407E

#24407E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.110 H 263.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#24407E
RGBrgb(36, 64, 126)
HSLhsl(221, 56%, 32%)
HSVhsv(221, 71%, 49%)
CMYKcmyk(71.4%, 49.2%, 0%, 50.6%)
CIE-LABlab(28.24, 11.93, -38.30)
CIE-LCHlch(28.24, 40.11, 287.30°)
OKLaboklab(38.55% -0.012 -0.1097)
OKLCHoklch(38.55% 0.11 263.7)
XYZxyz(6.3255, 5.5476, 20.4720)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24407E #7E6224
analogous
#246D7E #24407E #35247E
triadic
#24407E #7E2440 #407E24
tetradic
#24407E #7E246D #7E6224 #247E35
square
#24407E #7E246D #7E6224 #247E35
split-complementary
#24407E #7E3524 #6D7E24
monochromatic
#09101F #16284E #24407E #3258AE #5077CD

Accessibility & contrast

On white

9.95
#24407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#24407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24407E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24407E#FFFFFF#000000##FFFFFF
##24407E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#0A3F7D
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24407e;
/* rgb */ color: rgb(36, 64, 126);
/* oklch */ color: oklch(38.5% 0.110 263.7);
Tailwind
colors: {
  custom: {
    50: '#6a74a4',
    500: '#24407e',
    950: '#000000',
  },
}
SCSS
$custom: #24407e;
$custom-light: #6a74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24407e",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 221.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.11041,
    "h": 263.7
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#24407E
secondary
#B0924E
accent
#B049DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24407E

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

Preview Lab → · Contrast checker → · Palette generator →

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