#1F8A8A#1F8A8A

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

Color values

HEX#1F8A8A
RGBrgb(31, 138, 138)
HSLhsl(180, 63%, 33%)
HSVhsv(180, 78%, 54%)
CMYKcmyk(77.5%, 0%, 0%, 45.9%)
CIE-LABlab(52.18, -28.31, -8.43)
CIE-LCHlch(52.18, 29.54, 196.58°)
OKLaboklab(57.71% -0.0879 -0.0234)
OKLCHoklch(57.71% 0.091 194.9)
XYZxyz(14.2389, 20.3015, 27.2080)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A8A #8A1F1F
analogous
#1F8A54 #1F8A8A #1F548A
triadic
#1F8A8A #8A1F8A #8A8A1F
tetradic
#1F8A8A #541F8A #8A1F1F #548A1F
square
#1F8A8A #541F8A #8A1F1F #548A1F
split-complementary
#1F8A8A #8A1F54 #8A541F
monochromatic
#092626 #145858 #1F8A8A #2ABCBC #4CD7D7

Accessibility & contrast

On white

4.15
#1F8A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#1F8A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A8A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A8A#FFFFFF#000000##000000
##1F8A8A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8a8a;
/* rgb */ color: rgb(31, 138, 138);
/* oklch */ color: oklch(57.7% 0.091 194.9);
Tailwind
colors: {
  custom: {
    50: '#6facac',
    500: '#1f8a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a8a;
$custom-light: #6facac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a8a",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 138
  },
  "hsl": {
    "h": 180,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.09102,
    "h": 194.9
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

primary
#1F8A8A
secondary
#BA4B4B
accent
#4141E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #1F8A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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