#18517F#18517F

#18517F is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.096 H 247.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#18517F
RGBrgb(24, 81, 127)
HSLhsl(207, 68%, 30%)
HSVhsv(207, 81%, 50%)
CMYKcmyk(81.1%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.16, -0.83, -31.10)
CIE-LCHlch(33.16, 31.11, 268.46°)
OKLaboklab(42.27% -0.037 -0.0885)
OKLCHoklch(42.27% 0.096 247.3)
XYZxyz(7.1484, 7.6105, 21.1668)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18517F #7F4618
analogous
#187F7A #18517F #181E7F
triadic
#18517F #7F1851 #517F18
tetradic
#18517F #7A187F #7F4618 #1E7F18
square
#18517F #7A187F #7F4618 #1E7F18
split-complementary
#18517F #7F181E #7F7A18
monochromatic
#05101A #0E304C #18517F #2272B2 #3891D9

Accessibility & contrast

On white

8.33
#18517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#18517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18517F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18517F#FFFFFF#000000##FFFFFF
##18517F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #18517f;
/* rgb */ color: rgb(24, 81, 127);
/* oklch */ color: oklch(42.3% 0.096 247.3);
Tailwind
colors: {
  custom: {
    50: '#6681a4',
    500: '#18517f',
    950: '#000000',
  },
}
SCSS
$custom: #18517f;
$custom-light: #6681a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18517f",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 206.796,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.09592,
    "h": 247.3
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#18517F
secondary
#B3733F
accent
#8B3DEB
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #18517F

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

Preview Lab → · Contrast checker → · Palette generator →

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