#1C798F#1C798F

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

Color values

HEX#1C798F
RGBrgb(28, 121, 143)
HSLhsl(191, 67%, 34%)
HSVhsv(191, 80%, 56%)
CMYKcmyk(80.4%, 15.4%, 0%, 43.9%)
CIE-LABlab(46.85, -18.18, -19.43)
CIE-LCHlch(46.85, 26.61, 226.91°)
OKLaboklab(53.45% -0.0694 -0.0543)
OKLCHoklch(53.45% 0.088 218.1)
XYZxyz(12.2721, 15.9033, 28.4041)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C798F #8F321C
analogous
#1C8F6B #1C798F #1C3F8F
triadic
#1C798F #8F1C79 #798F1C
tetradic
#1C798F #6B1C8F #8F321C #3F8F1C
square
#1C798F #6B1C8F #8F321C #3F8F1C
split-complementary
#1C798F #8F1C3F #8F6B1C
monochromatic
#082229 #124E5C #1C798F #26A4C2 #4AC0DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C798F#FFFFFF#000000##FFFFFF
##1C798F1.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: #1c798f;
/* rgb */ color: rgb(28, 121, 143);
/* oklch */ color: oklch(53.4% 0.088 218.1);
Tailwind
colors: {
  custom: {
    50: '#6da0af',
    500: '#1c798f',
    950: '#000000',
  },
}
SCSS
$custom: #1c798f;
$custom-light: #6da0af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c798f",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 191.478,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53447,
    "c": 0.08813,
    "h": 218.1
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#1C798F
secondary
#BE5F49
accent
#5F3EEA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1C798F

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

Preview Lab → · Contrast checker → · Palette generator →

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