#1F837B#1F837B

#1F837B is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.3% C 0.088 H 186.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1F837B
RGBrgb(31, 131, 123)
HSLhsl(175, 62%, 32%)
HSVhsv(175, 76%, 51%)
CMYKcmyk(76.3%, 0%, 6.1%, 48.6%)
CIE-LABlab(49.44, -29.47, -3.74)
CIE-LCHlch(49.44, 29.70, 187.23°)
OKLaboklab(55.33% -0.0877 -0.0106)
OKLCHoklch(55.33% 0.088 186.9)
XYZxyz(12.2548, 17.9525, 21.5544)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F837B #831F27
analogous
#1F8349 #1F837B #1F5983
triadic
#1F837B #7B1F83 #837B1F
tetradic
#1F837B #491F83 #831F27 #59831F
square
#1F837B #491F83 #831F27 #59831F
split-complementary
#1F837B #831F59 #83491F
monochromatic
#08201E #13524D #1F837B #2BB4A9 #49D4C9

Accessibility & contrast

On white

4.57
#1F837B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#1F837B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F837B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F837B#FFFFFF#000000##000000
##1F837B1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7B7B
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#008680
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f837b;
/* rgb */ color: rgb(31, 131, 123);
/* oklch */ color: oklch(55.3% 0.088 186.9);
Tailwind
colors: {
  custom: {
    50: '#6da7a1',
    500: '#1f837b',
    950: '#000000',
  },
}
SCSS
$custom: #1f837b;
$custom-light: #6da7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f837b",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 123
  },
  "hsl": {
    "h": 175.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55329,
    "c": 0.08839,
    "h": 186.9
  },
  "luminance": 0.17954
}

Semantic roles & 50–950 ramp

primary
#1F837B
secondary
#B64851
accent
#4350E5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #1F837B

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

Preview Lab → · Contrast checker → · Palette generator →

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