#1D6787#1D6787

#1D6787 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.5% C 0.086 H 231.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#1D6787
RGBrgb(29, 103, 135)
HSLhsl(198, 65%, 32%)
HSVhsv(198, 79%, 53%)
CMYKcmyk(78.5%, 23.7%, 0%, 47.1%)
CIE-LABlab(40.75, -10.73, -24.07)
CIE-LCHlch(40.75, 26.36, 245.97°)
OKLaboklab(48.45% -0.0538 -0.0677)
OKLCHoklch(48.45% 0.087 231.5)
XYZxyz(9.7283, 11.7098, 24.6645)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D6787 #873D1D
analogous
#1D8772 #1D6787 #1D3287
triadic
#1D6787 #871D67 #67871D
tetradic
#1D6787 #721D87 #873D1D #32871D
square
#1D6787 #721D87 #873D1D #32871D
split-complementary
#1D6787 #871D32 #87721D
monochromatic
#071A22 #124155 #1D6787 #288DB9 #47ACD7

Accessibility & contrast

On white

6.28
#1D6787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#1D6787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D6787
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D6787#FFFFFF#000000##FFFFFF
##1D67871.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576689
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#007072
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1d6787;
/* rgb */ color: rgb(29, 103, 135);
/* oklch */ color: oklch(48.5% 0.086 231.5);
Tailwind
colors: {
  custom: {
    50: '#6a92aa',
    500: '#1d6787',
    950: '#000000',
  },
}
SCSS
$custom: #1d6787;
$custom-light: #6a92aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d6787",
  "rgb": {
    "r": 29,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 198.113,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.0865,
    "h": 231.5
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#1D6787
secondary
#B96946
accent
#7340E8
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070D10
muted
#7A7D7F

Preview Lab

Preview with #1D6787

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

Preview Lab → · Contrast checker → · Palette generator →

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