#1F8A8B#1F8A8B

#1F8A8B is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.8% C 0.091 H 195.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1F8A8B
RGBrgb(31, 138, 139)
HSLhsl(181, 64%, 33%)
HSVhsv(181, 78%, 55%)
CMYKcmyk(77.7%, 0.7%, 0%, 45.5%)
CIE-LABlab(52.21, -28.00, -8.96)
CIE-LCHlch(52.21, 29.40, 197.74°)
OKLaboklab(57.75% -0.0875 -0.0249)
OKLCHoklch(57.75% 0.091 195.9)
XYZxyz(14.3116, 20.3306, 27.5910)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A8B #8B201F
analogous
#1F8B56 #1F8A8B #1F548B
triadic
#1F8A8B #8B1F8A #8A8B1F
tetradic
#1F8A8B #561F8B #8B201F #548B1F
square
#1F8A8B #561F8B #8B201F #548B1F
split-complementary
#1F8A8B #8B1F54 #8B561F
monochromatic
#092727 #145859 #1F8A8B #2ABCBD #4DD6D7

Accessibility & contrast

On white

4.14
#1F8A8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#1F8A8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A8B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A8B#FFFFFF#000000##000000
##1F8A8B1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80838B
Deuteranopia (green-blind)
#71788C
Tritanopia (blue-blind)
#008F8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8a8b;
/* rgb */ color: rgb(31, 138, 139);
/* oklch */ color: oklch(57.8% 0.091 195.9);
Tailwind
colors: {
  custom: {
    50: '#6facac',
    500: '#1f8a8b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a8b;
$custom-light: #6facac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a8b",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 139
  },
  "hsl": {
    "h": 180.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.09097,
    "h": 195.9
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#1F8A8B
secondary
#BA4D4C
accent
#4341E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #1F8A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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