#1C787F#1C787F

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

Color values

HEX#1C787F
RGBrgb(28, 120, 127)
HSLhsl(184, 64%, 30%)
HSVhsv(184, 78%, 50%)
CMYKcmyk(78%, 5.5%, 0%, 50.2%)
CIE-LABlab(45.92, -23.06, -11.36)
CIE-LCHlch(45.92, 25.71, 206.22°)
OKLaboklab(52.5% -0.0754 -0.0316)
OKLCHoklch(52.5% 0.082 202.7)
XYZxyz(11.0244, 15.2108, 22.4295)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C787F #7F231C
analogous
#1C7F54 #1C787F #1C477F
triadic
#1C787F #7F1C78 #787F1C
tetradic
#1C787F #541C7F #7F231C #477F1C
square
#1C787F #541C7F #7F231C #477F1C
split-complementary
#1C787F #7F1C47 #7F541C
monochromatic
#06191B #11494D #1C787F #27A7B1 #40CAD5

Accessibility & contrast

On white

5.19
#1C787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C787F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C787F#FFFFFF#000000##FFFFFF
##1C787F1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7380
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c787f;
/* rgb */ color: rgb(28, 120, 127);
/* oklch */ color: oklch(52.5% 0.082 202.7);
Tailwind
colors: {
  custom: {
    50: '#6b9fa4',
    500: '#1c787f',
    950: '#000000',
  },
}
SCSS
$custom: #1c787f;
$custom-light: #6b9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c787f",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.242,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.525,
    "c": 0.08171,
    "h": 202.7
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#1C787F
secondary
#B34C44
accent
#4D41E7
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1C787F

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

Preview Lab → · Contrast checker → · Palette generator →

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