#1D87A8#1D87A8

#1D87A8 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.2% C 0.102 H 224.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1D87A8
RGBrgb(29, 135, 168)
HSLhsl(194, 71%, 39%)
HSVhsv(194, 83%, 66%)
CMYKcmyk(82.7%, 19.6%, 0%, 34.1%)
CIE-LABlab(52.30, -16.98, -25.62)
CIE-LCHlch(52.30, 30.74, 236.47°)
OKLaboklab(58.17% -0.0728 -0.0719)
OKLCHoklch(58.17% 0.102 224.7)
XYZxyz(16.2356, 20.4143, 40.1228)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D87A8 #A83E1D
analogous
#1DA883 #1D87A8 #1D41A8
triadic
#1D87A8 #A81D87 #87A81D
tetradic
#1D87A8 #831DA8 #A83E1D #41A81D
square
#1D87A8 #831DA8 #A83E1D #41A81D
split-complementary
#1D87A8 #A81D41 #A8831D
monochromatic
#0B3340 #145D74 #1D87A8 #28B0DA #5CC3E3

Accessibility & contrast

On white

4.13
#1D87A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#1D87A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1D87A8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D87A8#FFFFFF#000000##000000
##1D87A81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584AA
Deuteranopia (green-blind)
#6377A8
Tritanopia (blue-blind)
#009192
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1d87a8;
/* rgb */ color: rgb(29, 135, 168);
/* oklch */ color: oklch(58.2% 0.102 224.7);
Tailwind
colors: {
  custom: {
    50: '#72aac2',
    500: '#1d87a8',
    950: '#000000',
  },
}
SCSS
$custom: #1d87a8;
$custom-light: #72aac2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d87a8",
  "rgb": {
    "r": 29,
    "g": 135,
    "b": 168
  },
  "hsl": {
    "h": 194.245,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58172,
    "c": 0.10233,
    "h": 224.7
  },
  "luminance": 0.20416
}

Semantic roles & 50–950 ramp

primary
#1D87A8
secondary
#C7745A
accent
#653AED
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #1D87A8

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

Preview Lab → · Contrast checker → · Palette generator →

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