#1F8277#1F8277

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

Color values

HEX#1F8277
RGBrgb(31, 130, 119)
HSLhsl(173, 61%, 32%)
HSVhsv(173, 76%, 51%)
CMYKcmyk(76.2%, 0%, 8.5%, 49%)
CIE-LABlab(48.99, -30.17, -2.05)
CIE-LCHlch(48.99, 30.24, 183.88°)
OKLaboklab(54.93% -0.0886 -0.006)
OKLCHoklch(54.93% 0.089 183.9)
XYZxyz(11.8759, 17.5871, 20.2179)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8277 #821F2A
analogous
#1F8246 #1F8277 #1F5C82
triadic
#1F8277 #771F82 #82771F
tetradic
#1F8277 #461F82 #821F2A #5C821F
square
#1F8277 #461F82 #821F2A #5C821F
split-complementary
#1F8277 #821F5C #82461F
monochromatic
#071F1D #13514A #1F8277 #2BB3A4 #48D3C4

Accessibility & contrast

On white

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

On black

4.52
#1F8277 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F8277#FFFFFF#000000##FFFFFF
##1F82771.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7A77
Deuteranopia (green-blind)
#6E7078
Tritanopia (blue-blind)
#00857F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8277;
/* rgb */ color: rgb(31, 130, 119);
/* oklch */ color: oklch(54.9% 0.089 183.9);
Tailwind
colors: {
  custom: {
    50: '#6ca79e',
    500: '#1f8277',
    950: '#000000',
  },
}
SCSS
$custom: #1f8277;
$custom-light: #6ca79e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8277",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 119
  },
  "hsl": {
    "h": 173.333,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54925,
    "c": 0.08884,
    "h": 183.9
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#1F8277
secondary
#B54854
accent
#4355E5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #1F8277

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

Preview Lab → · Contrast checker → · Palette generator →

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