#24407B#24407B

#24407B is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.106 H 263.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#24407B
RGBrgb(36, 64, 123)
HSLhsl(221, 55%, 31%)
HSVhsv(221, 71%, 48%)
CMYKcmyk(70.7%, 48%, 0%, 51.8%)
CIE-LABlab(28.04, 10.75, -36.75)
CIE-LCHlch(28.04, 38.29, 286.31°)
OKLaboklab(38.32% -0.0125 -0.1052)
OKLCHoklch(38.32% 0.106 263.2)
XYZxyz(6.1348, 5.4713, 19.4678)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24407B #7B5F24
analogous
#246B7B #24407B #33247B
triadic
#24407B #7B2440 #407B24
tetradic
#24407B #7B246B #7B5F24 #247B33
square
#24407B #7B246B #7B5F24 #247B33
split-complementary
#24407B #7B3324 #6B7B24
monochromatic
#080F1C #16274C #24407B #3259AA #4E76CB

Accessibility & contrast

On white

10.03
#24407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#24407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24407B
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24407B#FFFFFF#000000##FFFFFF
##24407B1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467D
Deuteranopia (green-blind)
#113E7A
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #24407b;
/* rgb */ color: rgb(36, 64, 123);
/* oklch */ color: oklch(38.3% 0.106 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a74a1',
    500: '#24407b',
    950: '#000000',
  },
}
SCSS
$custom: #24407b;
$custom-light: #6a74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#24407b",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 220.69,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.10592,
    "h": 263.2
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#24407B
secondary
#AD8F4D
accent
#AE4ADE
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24407B

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

Preview Lab → · Contrast checker → · Palette generator →

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