#1D788D#1D788D

#1D788D is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.1% C 0.087 H 217.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1D788D
RGBrgb(29, 120, 141)
HSLhsl(191, 66%, 33%)
HSVhsv(191, 79%, 55%)
CMYKcmyk(79.4%, 14.9%, 0%, 44.7%)
CIE-LABlab(46.47, -18.22, -18.83)
CIE-LCHlch(46.47, 26.20, 225.95°)
OKLaboklab(53.12% -0.0688 -0.0526)
OKLCHoklch(53.12% 0.087 217.4)
XYZxyz(12.0288, 15.6158, 27.5743)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D788D #8D321D
analogous
#1D8D6A #1D788D #1D408D
triadic
#1D788D #8D1D78 #788D1D
tetradic
#1D788D #6A1D8D #8D321D #408D1D
square
#1D788D #6A1D8D #8D321D #408D1D
split-complementary
#1D788D #8D1D40 #8D6A1D
monochromatic
#082227 #134D5A #1D788D #27A3C0 #4BBFDA

Accessibility & contrast

On white

5.09
#1D788D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1D788D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D788D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D788D#FFFFFF#000000##FFFFFF
##1D788D1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A748E
Deuteranopia (green-blind)
#5B698D
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d788d;
/* rgb */ color: rgb(29, 120, 141);
/* oklch */ color: oklch(53.1% 0.087 217.4);
Tailwind
colors: {
  custom: {
    50: '#6d9fae',
    500: '#1d788d',
    950: '#000000',
  },
}
SCSS
$custom: #1d788d;
$custom-light: #6d9fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d788d",
  "rgb": {
    "r": 29,
    "g": 120,
    "b": 141
  },
  "hsl": {
    "h": 191.25,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.08664,
    "h": 217.4
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#1D788D
secondary
#BC5F4A
accent
#5F3FE9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1D788D

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

Preview Lab → · Contrast checker → · Palette generator →

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