#24417F#24417F

#24417F is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.111 H 263.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#24417F
RGBrgb(36, 65, 127)
HSLhsl(221, 56%, 32%)
HSVhsv(221, 72%, 50%)
CMYKcmyk(71.7%, 48.8%, 0%, 50.2%)
CIE-LABlab(28.61, 11.63, -38.33)
CIE-LCHlch(28.61, 40.06, 286.88°)
OKLaboklab(38.85% -0.0129 -0.1098)
OKLCHoklch(38.85% 0.111 263.3)
XYZxyz(6.4473, 5.6873, 20.8325)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24417F #7F6224
analogous
#246F7F #24417F #35247F
triadic
#24417F #7F2441 #417F24
tetradic
#24417F #7F246F #7F6224 #247F35
square
#24417F #7F246F #7F6224 #247F35
split-complementary
#24417F #7F3524 #6F7F24
monochromatic
#091020 #16294F #24417F #3259AF #5078CD

Accessibility & contrast

On white

9.82
#24417F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#24417F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24417F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24417F#FFFFFF#000000##FFFFFF
##24417F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#0C407E
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #24417f;
/* rgb */ color: rgb(36, 65, 127);
/* oklch */ color: oklch(38.9% 0.111 263.3);
Tailwind
colors: {
  custom: {
    50: '#6b75a4',
    500: '#24417f',
    950: '#000000',
  },
}
SCSS
$custom: #24417f;
$custom-light: #6b75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24417f",
  "rgb": {
    "r": 36,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 220.879,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38851,
    "c": 0.11058,
    "h": 263.3
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#24417F
secondary
#B1914E
accent
#AF49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #24417F

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

Preview Lab → · Contrast checker → · Palette generator →

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