#1D787C#1D787C

#1D787C is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.4% C 0.081 H 199.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1D787C
RGBrgb(29, 120, 124)
HSLhsl(183, 62%, 30%)
HSVhsv(183, 77%, 49%)
CMYKcmyk(76.6%, 3.2%, 0%, 51.4%)
CIE-LABlab(45.84, -23.92, -9.70)
CIE-LCHlch(45.84, 25.81, 202.07°)
OKLaboklab(52.4% -0.0764 -0.0269)
OKLCHoklch(52.4% 0.081 199.4)
XYZxyz(10.8596, 15.1481, 21.4164)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D787C #7C211D
analogous
#1D7C50 #1D787C #1D497C
triadic
#1D787C #7C1D78 #787C1D
tetradic
#1D787C #501D7C #7C211D #497C1D
square
#1D787C #501D7C #7C211D #497C1D
split-complementary
#1D787C #7C1D49 #7C501D
monochromatic
#061819 #11484A #1D787C #29A8AE #41CCD3

Accessibility & contrast

On white

5.21
#1D787C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1D787C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D787C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D787C#FFFFFF#000000##FFFFFF
##1D787C1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727C
Deuteranopia (green-blind)
#61687C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d787c;
/* rgb */ color: rgb(29, 120, 124);
/* oklch */ color: oklch(52.4% 0.081 199.4);
Tailwind
colors: {
  custom: {
    50: '#6a9fa1',
    500: '#1d787c',
    950: '#000000',
  },
}
SCSS
$custom: #1d787c;
$custom-light: #6a9fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d787c",
  "rgb": {
    "r": 29,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 182.526,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.08098,
    "h": 199.4
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#1D787C
secondary
#B04A45
accent
#4943E5
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0F
muted
#7A7E7E

Preview Lab

Preview with #1D787C

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

Preview Lab → · Contrast checker → · Palette generator →

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