#24517C#24517C

#24517C is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.087 H 249.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#24517C
RGBrgb(36, 81, 124)
HSLhsl(209, 55%, 31%)
HSVhsv(209, 71%, 49%)
CMYKcmyk(71%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.38, -0.25, -28.87)
CIE-LCHlch(33.38, 28.87, 269.51°)
OKLaboklab(42.5% -0.0303 -0.0818)
OKLCHoklch(42.5% 0.087 249.7)
XYZxyz(7.3067, 7.7144, 20.1688)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24517C #7C4F24
analogous
#247C7B #24517C #24257C
triadic
#24517C #7C2451 #517C24
tetradic
#24517C #7B247C #7C4F24 #257C24
square
#24517C #7B247C #7C4F24 #257C24
split-complementary
#24517C #7C2425 #7C7B24
monochromatic
#08131D #16324D #24517C #3270AB #4F8FCC

Accessibility & contrast

On white

8.26
#24517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#24517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24517C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24517C#FFFFFF#000000##FFFFFF
##24517C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #24517c;
/* rgb */ color: rgb(36, 81, 124);
/* oklch */ color: oklch(42.5% 0.087 249.7);
Tailwind
colors: {
  custom: {
    50: '#6a81a2',
    500: '#24517c',
    950: '#000000',
  },
}
SCSS
$custom: #24517c;
$custom-light: #6a81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24517c",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 209.318,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42496,
    "c": 0.08725,
    "h": 249.7
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

primary
#24517C
secondary
#AE7D4D
accent
#9249DE
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #24517C

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

Preview Lab → · Contrast checker → · Palette generator →

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