#1C798D#1C798D

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

Color values

HEX#1C798D
RGBrgb(28, 121, 141)
HSLhsl(191, 67%, 33%)
HSVhsv(191, 80%, 55%)
CMYKcmyk(80.1%, 14.2%, 0%, 44.7%)
CIE-LABlab(46.77, -18.87, -18.37)
CIE-LCHlch(46.77, 26.34, 224.23°)
OKLaboklab(53.36% -0.0702 -0.0513)
OKLCHoklch(53.36% 0.087 216.2)
XYZxyz(12.1219, 15.8432, 27.6133)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C798D #8D301C
analogous
#1C8D68 #1C798D #1C418D
triadic
#1C798D #8D1C79 #798D1C
tetradic
#1C798D #681C8D #8D301C #418D1C
square
#1C798D #681C8D #8D301C #418D1C
split-complementary
#1C798D #8D1C41 #8D681C
monochromatic
#082127 #124D5A #1C798D #26A5C0 #49C1DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C798D#FFFFFF#000000##FFFFFF
##1C798D1.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)
#6B758E
Deuteranopia (green-blind)
#5C6A8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1c798d;
/* rgb */ color: rgb(28, 121, 141);
/* oklch */ color: oklch(53.4% 0.087 216.2);
Tailwind
colors: {
  custom: {
    50: '#6da0ae',
    500: '#1c798d',
    950: '#000000',
  },
}
SCSS
$custom: #1c798d;
$custom-light: #6da0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c798d",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 190.619,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53357,
    "c": 0.08697,
    "h": 216.2
  },
  "luminance": 0.15845
}

Semantic roles & 50–950 ramp

primary
#1C798D
secondary
#BD5D48
accent
#5C3EEA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1C798D

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

Preview Lab → · Contrast checker → · Palette generator →

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