#1D87A4#1D87A4

#1D87A4 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.0% C 0.099 H 221.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1D87A4
RGBrgb(29, 135, 164)
HSLhsl(193, 70%, 38%)
HSVhsv(193, 82%, 64%)
CMYKcmyk(82.3%, 17.7%, 0%, 35.7%)
CIE-LABlab(52.14, -18.38, -23.57)
CIE-LCHlch(52.14, 29.89, 232.05°)
OKLaboklab(57.99% -0.0743 -0.066)
OKLCHoklch(57.99% 0.099 221.6)
XYZxyz(15.8687, 20.2675, 38.1904)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D87A4 #A43A1D
analogous
#1DA47D #1D87A4 #1D43A4
triadic
#1D87A4 #A41D87 #87A41D
tetradic
#1D87A4 #7D1DA4 #A43A1D #43A41D
square
#1D87A4 #7D1DA4 #A43A1D #43A41D
split-complementary
#1D87A4 #A41D43 #A47D1D
monochromatic
#0B313C #145C70 #1D87A4 #26B2D8 #5AC5E2

Accessibility & contrast

On white

4.16
#1D87A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#1D87A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D87A4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D87A4#FFFFFF#000000##000000
##1D87A41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7683A6
Deuteranopia (green-blind)
#6477A4
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1d87a4;
/* rgb */ color: rgb(29, 135, 164);
/* oklch */ color: oklch(58.0% 0.099 221.6);
Tailwind
colors: {
  custom: {
    50: '#72aabf',
    500: '#1d87a4',
    950: '#000000',
  },
}
SCSS
$custom: #1d87a4;
$custom-light: #72aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d87a4",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 192.889,
    "s": 69.948,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.09945,
    "h": 221.6
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#1D87A4
secondary
#C66F57
accent
#613BED
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #1D87A4

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

Preview Lab → · Contrast checker → · Palette generator →

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