#1F8A9D#1F8A9D

#1F8A9D is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.5% C 0.095 H 212.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1F8A9D
RGBrgb(31, 138, 157)
HSLhsl(189, 67%, 37%)
HSVhsv(189, 80%, 62%)
CMYKcmyk(80.3%, 12.1%, 0%, 38.4%)
CIE-LABlab(52.84, -22.17, -18.44)
CIE-LCHlch(52.84, 28.84, 219.75°)
OKLaboklab(58.47% -0.0795 -0.0514)
OKLCHoklch(58.47% 0.095 212.9)
XYZxyz(15.7367, 20.9006, 35.0966)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A9D #9D321F
analogous
#1F9D71 #1F8A9D #1F4B9D
triadic
#1F8A9D #9D1F8A #8A9D1F
tetradic
#1F8A9D #711F9D #9D321F #4B9D1F
square
#1F8A9D #711F9D #9D321F #4B9D1F
split-complementary
#1F8A9D #9D1F4B #9D711F
monochromatic
#0B3037 #155D6A #1F8A9D #29B7D0 #58CADE

Accessibility & contrast

On white

4.05
#1F8A9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#1F8A9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A9D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A9D#FFFFFF#000000##000000
##1F8A9D1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C859E
Deuteranopia (green-blind)
#6B799D
Tritanopia (blue-blind)
#009190
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8a9d;
/* rgb */ color: rgb(31, 138, 157);
/* oklch */ color: oklch(58.5% 0.095 212.9);
Tailwind
colors: {
  custom: {
    50: '#72acba',
    500: '#1f8a9d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a9d;
$custom-light: #72acba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a9d",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 157
  },
  "hsl": {
    "h": 189.048,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.09469,
    "h": 212.9
  },
  "luminance": 0.20903
}

Semantic roles & 50–950 ramp

primary
#1F8A9D
secondary
#C26656
accent
#583EEA
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F8A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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