#24407F#24407F

#24407F is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.112 H 263.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#24407F
RGBrgb(36, 64, 127)
HSLhsl(222, 56%, 32%)
HSVhsv(222, 72%, 50%)
CMYKcmyk(71.7%, 49.6%, 0%, 50.2%)
CIE-LABlab(28.31, 12.32, -38.81)
CIE-LCHlch(28.31, 40.72, 287.61°)
OKLaboklab(38.62% -0.0119 -0.1113)
OKLCHoklch(38.62% 0.112 263.9)
XYZxyz(6.3904, 5.5735, 20.8136)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24407F #7F6324
analogous
#246E7F #24407F #35247F
triadic
#24407F #7F2440 #407F24
tetradic
#24407F #7F246E #7F6324 #247F35
square
#24407F #7F246E #7F6324 #247F35
split-complementary
#24407F #7F3524 #6E7F24
monochromatic
#091020 #16284F #24407F #3258AF #5077CD

Accessibility & contrast

On white

9.93
#24407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24407F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24407F#FFFFFF#000000##FFFFFF
##24407F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#073F7E
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24407f;
/* rgb */ color: rgb(36, 64, 127);
/* oklch */ color: oklch(38.6% 0.112 263.9);
Tailwind
colors: {
  custom: {
    50: '#6b74a4',
    500: '#24407f',
    950: '#000000',
  },
}
SCSS
$custom: #24407f;
$custom-light: #6b74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24407f",
  "rgb": {
    "r": 36,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 221.538,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38621,
    "c": 0.1119,
    "h": 263.9
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#24407F
secondary
#B1934E
accent
#B149DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24407F

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

Preview Lab → · Contrast checker → · Palette generator →

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