#1D798D#1D798D

#1D798D is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.4% C 0.087 H 216.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1D798D
RGBrgb(29, 121, 141)
HSLhsl(191, 66%, 33%)
HSVhsv(191, 79%, 55%)
CMYKcmyk(79.4%, 14.2%, 0%, 44.7%)
CIE-LABlab(46.79, -18.76, -18.34)
CIE-LCHlch(46.79, 26.24, 224.35°)
OKLaboklab(53.38% -0.0698 -0.0512)
OKLCHoklch(53.38% 0.087 216.3)
XYZxyz(12.1497, 15.8576, 27.6146)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D798D #8D311D
analogous
#1D8D69 #1D798D #1D418D
triadic
#1D798D #8D1D79 #798D1D
tetradic
#1D798D #691D8D #8D311D #418D1D
square
#1D798D #691D8D #8D311D #418D1D
split-complementary
#1D798D #8D1D41 #8D691D
monochromatic
#082227 #134D5A #1D798D #27A5C0 #4BC0DA

Accessibility & contrast

On white

5.03
#1D798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1D798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D798D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D798D#FFFFFF#000000##FFFFFF
##1D798D1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d798d;
/* rgb */ color: rgb(29, 121, 141);
/* oklch */ color: oklch(53.4% 0.087 216.3);
Tailwind
colors: {
  custom: {
    50: '#6da0ae',
    500: '#1d798d',
    950: '#000000',
  },
}
SCSS
$custom: #1d798d;
$custom-light: #6da0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d798d",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 190.714,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.08661,
    "h": 216.3
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#1D798D
secondary
#BC5E4A
accent
#5D3FE9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1D798D

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

Preview Lab → · Contrast checker → · Palette generator →

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