#24517A#24517A

#24517A is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.085 H 248.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#24517A
RGBrgb(36, 81, 122)
HSLhsl(209, 54%, 31%)
HSVhsv(209, 70%, 48%)
CMYKcmyk(70.5%, 33.6%, 0%, 52.2%)
CIE-LABlab(33.27, -1.01, -27.80)
CIE-LCHlch(33.27, 27.82, 267.92°)
OKLaboklab(42.38% -0.0309 -0.0787)
OKLCHoklch(42.38% 0.085 248.6)
XYZxyz(7.1815, 7.6643, 19.5095)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24517A #7A4D24
analogous
#247A78 #24517A #24267A
triadic
#24517A #7A2451 #517A24
tetradic
#24517A #78247A #7A4D24 #267A24
square
#24517A #78247A #7A4D24 #267A24
split-complementary
#24517A #7A2426 #7A7824
monochromatic
#08121B #16324B #24517A #3270A9 #4E8FCB

Accessibility & contrast

On white

8.29
#24517A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#24517A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24517A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24517A#FFFFFF#000000##FFFFFF
##24517A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#334B79
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #24517a;
/* rgb */ color: rgb(36, 81, 122);
/* oklch */ color: oklch(42.4% 0.085 248.6);
Tailwind
colors: {
  custom: {
    50: '#6981a0',
    500: '#24517a',
    950: '#000000',
  },
}
SCSS
$custom: #24517a;
$custom-light: #6981a0;
$custom-dark: #000000;
JSON
{
  "hex": "#24517a",
  "rgb": {
    "r": 36,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 208.605,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42376,
    "c": 0.08454,
    "h": 248.6
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#24517A
secondary
#AC7B4D
accent
#904ADE
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #24517A

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

Preview Lab → · Contrast checker → · Palette generator →

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