#1C798E#1C798E

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

Color values

HEX#1C798E
RGBrgb(28, 121, 142)
HSLhsl(191, 67%, 33%)
HSVhsv(191, 80%, 56%)
CMYKcmyk(80.3%, 14.8%, 0%, 44.3%)
CIE-LABlab(46.81, -18.53, -18.90)
CIE-LCHlch(46.81, 26.47, 225.58°)
OKLaboklab(53.4% -0.0698 -0.0528)
OKLCHoklch(53.4% 0.088 217.1)
XYZxyz(12.1967, 15.8731, 28.0069)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C798E #8E311C
analogous
#1C8E6A #1C798E #1C408E
triadic
#1C798E #8E1C79 #798E1C
tetradic
#1C798E #6A1C8E #8E311C #408E1C
square
#1C798E #6A1C8E #8E311C #408E1C
split-complementary
#1C798E #8E1C40 #8E6A1C
monochromatic
#082228 #124D5B #1C798E #26A5C1 #49C0DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C798E#FFFFFF#000000##FFFFFF
##1C798E1.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: #1c798e;
/* rgb */ color: rgb(28, 121, 142);
/* oklch */ color: oklch(53.4% 0.088 217.1);
Tailwind
colors: {
  custom: {
    50: '#6da0af',
    500: '#1c798e',
    950: '#000000',
  },
}
SCSS
$custom: #1c798e;
$custom-light: #6da0af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c798e",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 191.053,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.08754,
    "h": 217.1
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#1C798E
secondary
#BD5E49
accent
#5E3EEA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1C798E

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

Preview Lab → · Contrast checker → · Palette generator →

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