#1D798F#1D798F

#1D798F is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.5% C 0.088 H 218.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#1D798F
RGBrgb(29, 121, 143)
HSLhsl(192, 66%, 34%)
HSVhsv(192, 80%, 56%)
CMYKcmyk(79.7%, 15.4%, 0%, 43.9%)
CIE-LABlab(46.87, -18.07, -19.40)
CIE-LCHlch(46.87, 26.51, 227.04°)
OKLaboklab(53.47% -0.069 -0.0542)
OKLCHoklch(53.47% 0.088 218.2)
XYZxyz(12.2999, 15.9176, 28.4054)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D798F #8F331D
analogous
#1D8F6C #1D798F #1D408F
triadic
#1D798F #8F1D79 #798F1D
tetradic
#1D798F #6C1D8F #8F331D #408F1D
square
#1D798F #6C1D8F #8F331D #408F1D
split-complementary
#1D798F #8F1D40 #8F6C1D
monochromatic
#082329 #134E5C #1D798F #27A4C2 #4CBFDB

Accessibility & contrast

On white

5.02
#1D798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#1D798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D798F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D798F#FFFFFF#000000##FFFFFF
##1D798F1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7590
Deuteranopia (green-blind)
#5C6A8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1d798f;
/* rgb */ color: rgb(29, 121, 143);
/* oklch */ color: oklch(53.5% 0.088 218.2);
Tailwind
colors: {
  custom: {
    50: '#6da0af',
    500: '#1d798f',
    950: '#000000',
  },
}
SCSS
$custom: #1d798f;
$custom-light: #6da0af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d798f",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 191.579,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53467,
    "c": 0.08777,
    "h": 218.2
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#1D798F
secondary
#BD614B
accent
#603FE9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1D798F

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

Preview Lab → · Contrast checker → · Palette generator →

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