#1D798B#1D798B

#1D798B is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.3% C 0.086 H 214.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1D798B
RGBrgb(29, 121, 139)
HSLhsl(190, 65%, 33%)
HSVhsv(190, 79%, 55%)
CMYKcmyk(79.1%, 12.9%, 0%, 45.5%)
CIE-LABlab(46.71, -19.45, -17.28)
CIE-LCHlch(46.71, 26.02, 221.62°)
OKLaboklab(53.29% -0.0707 -0.0482)
OKLCHoklch(53.29% 0.086 214.3)
XYZxyz(12.0023, 15.7986, 26.8379)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D798B #8B2F1D
analogous
#1D8B66 #1D798B #1D428B
triadic
#1D798B #8B1D79 #798B1D
tetradic
#1D798B #661D8B #8B2F1D #428B1D
square
#1D798B #661D8B #8B2F1D #428B1D
split-complementary
#1D798B #8B1D42 #8B661D
monochromatic
#082126 #124D58 #1D798B #28A5BE #49C2D9

Accessibility & contrast

On white

5.05
#1D798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1D798B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D798B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D798B#FFFFFF#000000##FFFFFF
##1D798B1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758C
Deuteranopia (green-blind)
#5D6A8B
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1d798b;
/* rgb */ color: rgb(29, 121, 139);
/* oklch */ color: oklch(53.3% 0.086 214.3);
Tailwind
colors: {
  custom: {
    50: '#6da0ad',
    500: '#1d798b',
    950: '#000000',
  },
}
SCSS
$custom: #1d798b;
$custom-light: #6da0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d798b",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 189.818,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.08556,
    "h": 214.3
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#1D798B
secondary
#BB5B49
accent
#5B3FE8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1D798B

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

Preview Lab → · Contrast checker → · Palette generator →

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