#1D787F#1D787F

#1D787F is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.081 H 202.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1D787F
RGBrgb(29, 120, 127)
HSLhsl(184, 63%, 31%)
HSVhsv(184, 77%, 50%)
CMYKcmyk(77.2%, 5.5%, 0%, 50.2%)
CIE-LABlab(45.94, -22.94, -11.33)
CIE-LCHlch(45.94, 25.58, 206.28°)
OKLaboklab(52.52% -0.075 -0.0315)
OKLCHoklch(52.52% 0.081 202.8)
XYZxyz(11.0522, 15.2251, 22.4308)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D787F #7F241D
analogous
#1D7F55 #1D787F #1D477F
triadic
#1D787F #7F1D78 #787F1D
tetradic
#1D787F #551D7F #7F241D #477F1D
square
#1D787F #551D7F #7F241D #477F1D
split-complementary
#1D787F #7F1D47 #7F551D
monochromatic
#061A1B #12494D #1D787F #28A7B1 #42CAD4

Accessibility & contrast

On white

5.19
#1D787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1D787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D787F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D787F#FFFFFF#000000##FFFFFF
##1D787F1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7380
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d787f;
/* rgb */ color: rgb(29, 120, 127);
/* oklch */ color: oklch(52.5% 0.081 202.8);
Tailwind
colors: {
  custom: {
    50: '#6b9fa4',
    500: '#1d787f',
    950: '#000000',
  },
}
SCSS
$custom: #1d787f;
$custom-light: #6b9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d787f",
  "rgb": {
    "r": 29,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.286,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.08132,
    "h": 202.8
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#1D787F
secondary
#B24D45
accent
#4E42E6
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1D787F

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

Preview Lab → · Contrast checker → · Palette generator →

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