#1D798E#1D798E

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

Color values

HEX#1D798E
RGBrgb(29, 121, 142)
HSLhsl(191, 66%, 34%)
HSVhsv(191, 80%, 56%)
CMYKcmyk(79.6%, 14.8%, 0%, 44.3%)
CIE-LABlab(46.83, -18.42, -18.87)
CIE-LCHlch(46.83, 26.37, 225.70°)
OKLaboklab(53.42% -0.0694 -0.0527)
OKLCHoklch(53.42% 0.087 217.2)
XYZxyz(12.2245, 15.8874, 28.0082)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D798E #8E321D
analogous
#1D8E6A #1D798E #1D418E
triadic
#1D798E #8E1D79 #798E1D
tetradic
#1D798E #6A1D8E #8E321D #418E1D
square
#1D798E #6A1D8E #8E321D #418E1D
split-complementary
#1D798E #8E1D41 #8E6A1D
monochromatic
#082228 #134E5B #1D798E #27A4C1 #4BC0DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D798E#FFFFFF#000000##FFFFFF
##1D798E1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d798e;
/* rgb */ color: rgb(29, 121, 142);
/* oklch */ color: oklch(53.4% 0.087 217.2);
Tailwind
colors: {
  custom: {
    50: '#6da0af',
    500: '#1d798e',
    950: '#000000',
  },
}
SCSS
$custom: #1d798e;
$custom-light: #6da0af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d798e",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 191.15,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.08718,
    "h": 217.2
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#1D798E
secondary
#BD5F4A
accent
#5E3FE9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1D798E

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

Preview Lab → · Contrast checker → · Palette generator →

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