#18517A#18517A

#18517A is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.089 H 244.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#18517A
RGBrgb(24, 81, 122)
HSLhsl(205, 67%, 29%)
HSVhsv(205, 80%, 48%)
CMYKcmyk(80.3%, 33.6%, 0%, 52.2%)
CIE-LABlab(32.88, -2.82, -28.44)
CIE-LCHlch(32.88, 28.58, 264.33°)
OKLaboklab(41.96% -0.0385 -0.0807)
OKLCHoklch(41.96% 0.089 244.5)
XYZxyz(6.8306, 7.4834, 19.4930)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18517A #7A4118
analogous
#187A72 #18517A #18207A
triadic
#18517A #7A1851 #517A18
tetradic
#18517A #72187A #7A4118 #207A18
square
#18517A #72187A #7A4118 #207A18
split-complementary
#18517A #7A1820 #7A7218
monochromatic
#05111A #0E2F47 #18517A #2273AD #3593D7

Accessibility & contrast

On white

8.41
#18517A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#18517A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18517A
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18517A#FFFFFF#000000##FFFFFF
##18517A1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#005B60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #18517a;
/* rgb */ color: rgb(24, 81, 122);
/* oklch */ color: oklch(42.0% 0.089 244.5);
Tailwind
colors: {
  custom: {
    50: '#6581a0',
    500: '#18517a',
    950: '#000000',
  },
}
SCSS
$custom: #18517a;
$custom-light: #6581a0;
$custom-dark: #000000;
JSON
{
  "hex": "#18517a",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 205.102,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41958,
    "c": 0.08944,
    "h": 244.5
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#18517A
secondary
#AF6E3F
accent
#863EEA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0F
muted
#7A7C7E

Preview Lab

Preview with #18517A

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

Preview Lab → · Contrast checker → · Palette generator →

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