#1C7882#1C7882

#1C7882 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.082 H 206.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1C7882
RGBrgb(28, 120, 130)
HSLhsl(186, 65%, 31%)
HSVhsv(186, 78%, 51%)
CMYKcmyk(78.5%, 7.7%, 0%, 49%)
CIE-LABlab(46.03, -22.07, -12.98)
CIE-LCHlch(46.03, 25.60, 210.46°)
OKLaboklab(52.62% -0.074 -0.0361)
OKLCHoklch(52.62% 0.082 206)
XYZxyz(11.2228, 15.2902, 23.4746)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7882 #82261C
analogous
#1C8259 #1C7882 #1C4582
triadic
#1C7882 #821C78 #78821C
tetradic
#1C7882 #591C82 #82261C #45821C
square
#1C7882 #591C82 #82261C #45821C
split-complementary
#1C7882 #821C45 #82591C
monochromatic
#061B1D #114A50 #1C7882 #27A6B4 #42C8D6

Accessibility & contrast

On white

5.17
#1C7882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1C7882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7882
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7882#FFFFFF#000000##FFFFFF
##1C78821.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7383
Deuteranopia (green-blind)
#5F6982
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7882;
/* rgb */ color: rgb(28, 120, 130);
/* oklch */ color: oklch(52.6% 0.082 206.0);
Tailwind
colors: {
  custom: {
    50: '#6b9fa6',
    500: '#1c7882',
    950: '#000000',
  },
}
SCSS
$custom: #1c7882;
$custom-light: #6b9fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7882",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 185.882,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.08233,
    "h": 206
  },
  "luminance": 0.15292
}

Semantic roles & 50–950 ramp

primary
#1C7882
secondary
#B55044
accent
#5140E8
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1C7882

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

Preview Lab → · Contrast checker → · Palette generator →

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