#1F8A9A#1F8A9A

#1F8A9A is a mid, moderate teal. Relative luminance 0.208; OKLCH L 58.3% C 0.093 H 210.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1F8A9A
RGBrgb(31, 138, 154)
HSLhsl(188, 66%, 36%)
HSVhsv(188, 80%, 60%)
CMYKcmyk(79.9%, 10.4%, 0%, 39.6%)
CIE-LABlab(52.73, -23.17, -16.87)
CIE-LCHlch(52.73, 28.66, 216.06°)
OKLaboklab(58.34% -0.0808 -0.047)
OKLCHoklch(58.34% 0.093 210.2)
XYZxyz(15.4837, 20.7994, 33.7642)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A9A #9A2F1F
analogous
#1F9A6D #1F8A9A #1F4D9A
triadic
#1F8A9A #9A1F8A #8A9A1F
tetradic
#1F8A9A #6D1F9A #9A2F1F #4D9A1F
square
#1F8A9A #6D1F9A #9A2F1F #4D9A1F
split-complementary
#1F8A9A #9A1F4D #9A6D1F
monochromatic
#0A2F34 #155C67 #1F8A9A #29B8CD #56CCDD

Accessibility & contrast

On white

4.07
#1F8A9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#1F8A9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A9A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A9A#FFFFFF#000000##000000
##1F8A9A1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D859B
Deuteranopia (green-blind)
#6C799A
Tritanopia (blue-blind)
#00918F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8a9a;
/* rgb */ color: rgb(31, 138, 154);
/* oklch */ color: oklch(58.3% 0.093 210.2);
Tailwind
colors: {
  custom: {
    50: '#71acb7',
    500: '#1f8a9a',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a9a;
$custom-light: #71acb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a9a",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 154
  },
  "hsl": {
    "h": 187.805,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.09346,
    "h": 210.2
  },
  "luminance": 0.20801
}

Semantic roles & 50–950 ramp

primary
#1F8A9A
secondary
#C16254
accent
#553EE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F8A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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