#24517D#24517D

#24517D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.089 H 250.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#24517D
RGBrgb(36, 81, 125)
HSLhsl(210, 55%, 32%)
HSVhsv(210, 71%, 49%)
CMYKcmyk(71.2%, 35.2%, 0%, 51%)
CIE-LABlab(33.44, 0.13, -29.40)
CIE-LCHlch(33.44, 29.40, 270.26°)
OKLaboklab(42.56% -0.03 -0.0834)
OKLCHoklch(42.56% 0.089 250.2)
XYZxyz(7.3703, 7.7398, 20.5036)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24517D #7D5024
analogous
#247D7D #24517D #24247D
triadic
#24517D #7D2451 #517D24
tetradic
#24517D #7D247D #7D5024 #247D24
square
#24517D #7D247D #7D5024 #247D24
split-complementary
#24517D #7D2424 #7D7D24
monochromatic
#09131E #16324D #24517D #3270AD #4F8ECC

Accessibility & contrast

On white

8.24
#24517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#24517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24517D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24517D#FFFFFF#000000##FFFFFF
##24517D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #24517d;
/* rgb */ color: rgb(36, 81, 125);
/* oklch */ color: oklch(42.6% 0.089 250.2);
Tailwind
colors: {
  custom: {
    50: '#6a81a3',
    500: '#24517d',
    950: '#000000',
  },
}
SCSS
$custom: #24517d;
$custom-light: #6a81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24517d",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 209.663,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42556,
    "c": 0.08861,
    "h": 250.2
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#24517D
secondary
#AF7E4D
accent
#9349DF
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #24517D

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

Preview Lab → · Contrast checker → · Palette generator →

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