#1D798C#1D798C

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

Color values

HEX#1D798C
RGBrgb(29, 121, 140)
HSLhsl(190, 66%, 33%)
HSVhsv(190, 79%, 55%)
CMYKcmyk(79.3%, 13.6%, 0%, 45.1%)
CIE-LABlab(46.75, -19.11, -17.81)
CIE-LCHlch(46.75, 26.12, 222.99°)
OKLaboklab(53.33% -0.0703 -0.0497)
OKLCHoklch(53.33% 0.086 215.3)
XYZxyz(12.0757, 15.8279, 27.2245)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D798C #8C301D
analogous
#1D8C67 #1D798C #1D428C
triadic
#1D798C #8C1D79 #798C1D
tetradic
#1D798C #671D8C #8C301D #428C1D
square
#1D798C #671D8C #8C301D #428C1D
split-complementary
#1D798C #8C1D42 #8C671D
monochromatic
#082127 #124D59 #1D798C #28A5BF #4AC1D9

Accessibility & contrast

On white

5.04
#1D798C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1D798C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D798C#FFFFFF#000000##FFFFFF
##1D798C1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d798c;
/* rgb */ color: rgb(29, 121, 140);
/* oklch */ color: oklch(53.3% 0.086 215.3);
Tailwind
colors: {
  custom: {
    50: '#6da0ad',
    500: '#1d798c',
    950: '#000000',
  },
}
SCSS
$custom: #1d798c;
$custom-light: #6da0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d798c",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 190.27,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.08608,
    "h": 215.3
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#1D798C
secondary
#BC5D49
accent
#5C3FE9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1D798C

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

Preview Lab → · Contrast checker → · Palette generator →

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