#24517E#24517E

#24517E is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.090 H 250.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#24517E
RGBrgb(36, 81, 126)
HSLhsl(210, 56%, 32%)
HSVhsv(210, 71%, 49%)
CMYKcmyk(71.4%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.49, 0.52, -29.94)
CIE-LCHlch(33.49, 29.94, 270.99°)
OKLaboklab(42.62% -0.0297 -0.0849)
OKLCHoklch(42.62% 0.09 250.8)
XYZxyz(7.4345, 7.7655, 20.8417)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24517E #7E5124
analogous
#247E7E #24517E #24247E
triadic
#24517E #7E2451 #517E24
tetradic
#24517E #7E247E #7E5124 #247E24
square
#24517E #7E247E #7E5124 #247E24
split-complementary
#24517E #7E2424 #7E7E24
monochromatic
#09141F #16324E #24517E #3270AE #508ECD

Accessibility & contrast

On white

8.22
#24517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24517E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24517E#FFFFFF#000000##FFFFFF
##24517E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5380
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#005C61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #24517e;
/* rgb */ color: rgb(36, 81, 126);
/* oklch */ color: oklch(42.6% 0.090 250.8);
Tailwind
colors: {
  custom: {
    50: '#6a81a3',
    500: '#24517e',
    950: '#000000',
  },
}
SCSS
$custom: #24517e;
$custom-light: #6a81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24517e",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 210,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42617,
    "c": 0.08997,
    "h": 250.8
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#24517E
secondary
#B07F4E
accent
#9449DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #24517E

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

Preview Lab → · Contrast checker → · Palette generator →

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