#24517F#24517F

#24517F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.091 H 251.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#24517F
RGBrgb(36, 81, 127)
HSLhsl(210, 56%, 32%)
HSVhsv(210, 72%, 50%)
CMYKcmyk(71.7%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.54, 0.90, -30.47)
CIE-LCHlch(33.54, 30.48, 271.69°)
OKLaboklab(42.68% -0.0294 -0.0865)
OKLCHoklch(42.68% 0.091 251.2)
XYZxyz(7.4993, 7.7914, 21.1832)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24517F #7F5224
analogous
#247F7F #24517F #25247F
triadic
#24517F #7F2451 #517F24
tetradic
#24517F #7F247F #7F5224 #247F25
square
#24517F #7F247F #7F5224 #247F25
split-complementary
#24517F #7F2524 #7F7F24
monochromatic
#091420 #16334F #24517F #326FAF #508ECD

Accessibility & contrast

On white

8.21
#24517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#24517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24517F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24517F#FFFFFF#000000##FFFFFF
##24517F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5481
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #24517f;
/* rgb */ color: rgb(36, 81, 127);
/* oklch */ color: oklch(42.7% 0.091 251.2);
Tailwind
colors: {
  custom: {
    50: '#6a81a4',
    500: '#24517f',
    950: '#000000',
  },
}
SCSS
$custom: #24517f;
$custom-light: #6a81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24517f",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 210.33,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42678,
    "c": 0.09134,
    "h": 251.2
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#24517F
secondary
#B1804E
accent
#9549DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #24517F

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

Preview Lab → · Contrast checker → · Palette generator →

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