#1F8082#1F8082

#1F8082 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.8% C 0.085 H 197.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F8082
RGBrgb(31, 128, 130)
HSLhsl(181, 61%, 32%)
HSVhsv(181, 76%, 51%)
CMYKcmyk(76.2%, 1.5%, 0%, 49%)
CIE-LABlab(48.69, -25.83, -8.97)
CIE-LCHlch(48.69, 27.34, 199.15°)
OKLaboklab(54.79% -0.0812 -0.0249)
OKLCHoklch(54.79% 0.085 197.1)
XYZxyz(12.3117, 17.3399, 23.8128)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8082 #82211F
analogous
#1F8253 #1F8082 #1F4F82
triadic
#1F8082 #821F80 #80821F
tetradic
#1F8082 #531F82 #82211F #4F821F
square
#1F8082 #531F82 #82211F #4F821F
split-complementary
#1F8082 #821F4F #82531F
monochromatic
#071F1F #134F51 #1F8082 #2BB1B3 #48D1D3

Accessibility & contrast

On white

4.70
#1F8082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1F8082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8082
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8082#FFFFFF#000000##FFFFFF
##1F80821.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777A82
Deuteranopia (green-blind)
#696F83
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8082;
/* rgb */ color: rgb(31, 128, 130);
/* oklch */ color: oklch(54.8% 0.085 197.1);
Tailwind
colors: {
  custom: {
    50: '#6da5a6',
    500: '#1f8082',
    950: '#000000',
  },
}
SCSS
$custom: #1f8082;
$custom-light: #6da5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8082",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 130
  },
  "hsl": {
    "h": 181.212,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54791,
    "c": 0.08499,
    "h": 197.1
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#1F8082
secondary
#B54A48
accent
#4643E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #1F8082

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

Preview Lab → · Contrast checker → · Palette generator →

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