#1F8276#1F8276

#1F8276 is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.9% C 0.089 H 182.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F8276
RGBrgb(31, 130, 118)
HSLhsl(173, 61%, 32%)
HSVhsv(173, 76%, 51%)
CMYKcmyk(76.2%, 0%, 9.2%, 49%)
CIE-LABlab(48.96, -30.46, -1.50)
CIE-LCHlch(48.96, 30.50, 182.82°)
OKLaboklab(54.89% -0.0891 -0.0045)
OKLCHoklch(54.89% 0.089 182.9)
XYZxyz(11.8161, 17.5632, 19.9033)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8276 #821F2B
analogous
#1F8245 #1F8276 #1F5D82
triadic
#1F8276 #761F82 #82761F
tetradic
#1F8276 #451F82 #821F2B #5D821F
square
#1F8276 #451F82 #821F2B #5D821F
split-complementary
#1F8276 #821F5D #82451F
monochromatic
#071F1C #135149 #1F8276 #2BB3A3 #48D3C2

Accessibility & contrast

On white

4.65
#1F8276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#1F8276 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8276
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8276#FFFFFF#000000##FFFFFF
##1F82761.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7A76
Deuteranopia (green-blind)
#6E7077
Tritanopia (blue-blind)
#00857E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8276;
/* rgb */ color: rgb(31, 130, 118);
/* oklch */ color: oklch(54.9% 0.089 182.9);
Tailwind
colors: {
  custom: {
    50: '#6ca79d',
    500: '#1f8276',
    950: '#000000',
  },
}
SCSS
$custom: #1f8276;
$custom-light: #6ca79d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8276",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 118
  },
  "hsl": {
    "h": 172.727,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54891,
    "c": 0.08925,
    "h": 182.9
  },
  "luminance": 0.17565
}

Semantic roles & 50–950 ramp

primary
#1F8276
secondary
#B54855
accent
#4357E5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #1F8276

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

Preview Lab → · Contrast checker → · Palette generator →

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