#1D787E#1D787E

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

Color values

HEX#1D787E
RGBrgb(29, 120, 126)
HSLhsl(184, 63%, 30%)
HSVhsv(184, 77%, 49%)
CMYKcmyk(77%, 4.8%, 0%, 50.6%)
CIE-LABlab(45.91, -23.27, -10.78)
CIE-LCHlch(45.91, 25.64, 204.87°)
OKLaboklab(52.48% -0.0754 -0.03)
OKLCHoklch(52.48% 0.081 201.7)
XYZxyz(10.9874, 15.1992, 22.0893)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D787E #7E231D
analogous
#1D7E53 #1D787E #1D487E
triadic
#1D787E #7E1D78 #787E1D
tetradic
#1D787E #531D7E #7E231D #487E1D
square
#1D787E #531D7E #7E231D #487E1D
split-complementary
#1D787E #7E1D48 #7E531D
monochromatic
#06191B #12494C #1D787E #28A7B0 #42CAD3

Accessibility & contrast

On white

5.20
#1D787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1D787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D787E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D787E#FFFFFF#000000##FFFFFF
##1D787E1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E727E
Deuteranopia (green-blind)
#61687E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d787e;
/* rgb */ color: rgb(29, 120, 126);
/* oklch */ color: oklch(52.5% 0.081 201.7);
Tailwind
colors: {
  custom: {
    50: '#6b9fa3',
    500: '#1d787e',
    950: '#000000',
  },
}
SCSS
$custom: #1d787e;
$custom-light: #6b9fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d787e",
  "rgb": {
    "r": 29,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 183.711,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52481,
    "c": 0.08117,
    "h": 201.7
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#1D787E
secondary
#B14C45
accent
#4C42E6
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1D787E

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

Preview Lab → · Contrast checker → · Palette generator →

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