#1D87A6#1D87A6

#1D87A6 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.1% C 0.101 H 223.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1D87A6
RGBrgb(29, 135, 166)
HSLhsl(194, 70%, 38%)
HSVhsv(194, 83%, 65%)
CMYKcmyk(82.5%, 18.7%, 0%, 34.9%)
CIE-LABlab(52.22, -17.68, -24.60)
CIE-LCHlch(52.22, 30.29, 234.29°)
OKLaboklab(58.08% -0.0736 -0.069)
OKLCHoklch(58.08% 0.101 223.2)
XYZxyz(16.0507, 20.3403, 39.1491)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D87A6 #A63C1D
analogous
#1DA680 #1D87A6 #1D42A6
triadic
#1D87A6 #A61D87 #87A61D
tetradic
#1D87A6 #801DA6 #A63C1D #42A61D
square
#1D87A6 #801DA6 #A63C1D #42A61D
split-complementary
#1D87A6 #A61D42 #A6801D
monochromatic
#0B323E #145D72 #1D87A6 #27B1D9 #5BC4E2

Accessibility & contrast

On white

4.14
#1D87A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#1D87A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D87A6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D87A6#FFFFFF#000000##000000
##1D87A61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584A8
Deuteranopia (green-blind)
#6477A6
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1d87a6;
/* rgb */ color: rgb(29, 135, 166);
/* oklch */ color: oklch(58.1% 0.101 223.2);
Tailwind
colors: {
  custom: {
    50: '#72aac0',
    500: '#1d87a6',
    950: '#000000',
  },
}
SCSS
$custom: #1d87a6;
$custom-light: #72aac0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d87a6",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 166
  },
  "hsl": {
    "h": 193.577,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.10086,
    "h": 223.2
  },
  "luminance": 0.20342
}

Semantic roles & 50–950 ramp

primary
#1D87A6
secondary
#C67159
accent
#633BED
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #1D87A6

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

Preview Lab → · Contrast checker → · Palette generator →

#1D87A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva