#18587F#18587F

#18587F is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.090 H 240.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#18587F
RGBrgb(24, 88, 127)
HSLhsl(203, 68%, 30%)
HSVhsv(203, 81%, 50%)
CMYKcmyk(81.1%, 30.7%, 0%, 50.2%)
CIE-LABlab(35.41, -5.29, -27.55)
CIE-LCHlch(35.41, 28.06, 259.14°)
OKLaboklab(44.04% -0.0439 -0.078)
OKLCHoklch(44.04% 0.09 240.6)
XYZxyz(7.6957, 8.7050, 21.3492)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18587F #7F3F18
analogous
#187F72 #18587F #18257F
triadic
#18587F #7F1858 #587F18
tetradic
#18587F #72187F #7F3F18 #257F18
square
#18587F #72187F #7F3F18 #257F18
split-complementary
#18587F #7F1825 #7F7218
monochromatic
#05121A #0E344C #18587F #227CB2 #389CD9

Accessibility & contrast

On white

7.66
#18587F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#18587F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18587F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18587F#FFFFFF#000000##FFFFFF
##18587F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#384F7E
Tritanopia (blue-blind)
#006266
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #18587f;
/* rgb */ color: rgb(24, 88, 127);
/* oklch */ color: oklch(44.0% 0.090 240.6);
Tailwind
colors: {
  custom: {
    50: '#6687a4',
    500: '#18587f',
    950: '#000000',
  },
}
SCSS
$custom: #18587f;
$custom-light: #6687a4;
$custom-dark: #000000;
JSON
{
  "hex": "#18587f",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 202.718,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.44044,
    "c": 0.08953,
    "h": 240.6
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#18587F
secondary
#B36B3F
accent
#7F3DEB
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #18587F

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

Preview Lab → · Contrast checker → · Palette generator →

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