#1D798A#1D798A

#1D798A is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.085 H 213.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1D798A
RGBrgb(29, 121, 138)
HSLhsl(189, 65%, 33%)
HSVhsv(189, 79%, 54%)
CMYKcmyk(79%, 12.3%, 0%, 45.9%)
CIE-LABlab(46.67, -19.79, -16.75)
CIE-LCHlch(46.67, 25.93, 220.24°)
OKLaboklab(53.25% -0.0711 -0.0467)
OKLCHoklch(53.25% 0.085 213.3)
XYZxyz(11.9295, 15.7695, 26.4549)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D798A #8A2E1D
analogous
#1D8A64 #1D798A #1D428A
triadic
#1D798A #8A1D79 #798A1D
tetradic
#1D798A #641D8A #8A2E1D #428A1D
square
#1D798A #641D8A #8A2E1D #428A1D
split-complementary
#1D798A #8A1D42 #8A641D
monochromatic
#082025 #124D57 #1D798A #28A5BD #49C2D9

Accessibility & contrast

On white

5.06
#1D798A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1D798A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D798A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D798A#FFFFFF#000000##FFFFFF
##1D798A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758B
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1d798a;
/* rgb */ color: rgb(29, 121, 138);
/* oklch */ color: oklch(53.2% 0.085 213.3);
Tailwind
colors: {
  custom: {
    50: '#6ca0ac',
    500: '#1d798a',
    950: '#000000',
  },
}
SCSS
$custom: #1d798a;
$custom-light: #6ca0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d798a",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 189.358,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.08508,
    "h": 213.3
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#1D798A
secondary
#BB5A48
accent
#5A40E8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1D798A

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

Preview Lab → · Contrast checker → · Palette generator →

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