#1C787E#1C787E

#1C787E is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.082 H 201.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1C787E
RGBrgb(28, 120, 126)
HSLhsl(184, 64%, 30%)
HSVhsv(184, 78%, 49%)
CMYKcmyk(77.8%, 4.8%, 0%, 50.6%)
CIE-LABlab(45.89, -23.39, -10.82)
CIE-LCHlch(45.89, 25.77, 204.82°)
OKLaboklab(52.46% -0.0758 -0.03)
OKLCHoklch(52.46% 0.082 201.6)
XYZxyz(10.9596, 15.1848, 22.0880)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C787E #7E221C
analogous
#1C7E53 #1C787E #1C477E
triadic
#1C787E #7E1C78 #787E1C
tetradic
#1C787E #531C7E #7E221C #477E1C
square
#1C787E #531C7E #7E221C #477E1C
split-complementary
#1C787E #7E1C47 #7E531C
monochromatic
#06191A #11484C #1C787E #27A8B0 #40CBD5

Accessibility & contrast

On white

5.20
#1C787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1C787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C787E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C787E#FFFFFF#000000##FFFFFF
##1C787E1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E727E
Deuteranopia (green-blind)
#61687E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c787e;
/* rgb */ color: rgb(28, 120, 126);
/* oklch */ color: oklch(52.5% 0.082 201.6);
Tailwind
colors: {
  custom: {
    50: '#6a9fa3',
    500: '#1c787e',
    950: '#000000',
  },
}
SCSS
$custom: #1c787e;
$custom-light: #6a9fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c787e",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 183.673,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.08157,
    "h": 201.6
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#1C787E
secondary
#B24B44
accent
#4B41E7
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1C787E

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

Preview Lab → · Contrast checker → · Palette generator →

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