#1F837A#1F837A

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

Color values

HEX#1F837A
RGBrgb(31, 131, 122)
HSLhsl(175, 62%, 32%)
HSVhsv(175, 76%, 51%)
CMYKcmyk(76.3%, 0%, 6.9%, 48.6%)
CIE-LABlab(49.41, -29.76, -3.19)
CIE-LCHlch(49.41, 29.94, 186.13°)
OKLaboklab(55.29% -0.0882 -0.0091)
OKLCHoklch(55.29% 0.089 185.9)
XYZxyz(12.1925, 17.9276, 21.2264)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F837A #831F28
analogous
#1F8348 #1F837A #1F5A83
triadic
#1F837A #7A1F83 #837A1F
tetradic
#1F837A #481F83 #831F28 #5A831F
square
#1F837A #481F83 #831F28 #5A831F
split-complementary
#1F837A #831F5A #83481F
monochromatic
#08201E #13524C #1F837A #2BB4A8 #49D4C7

Accessibility & contrast

On white

4.58
#1F837A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F837A#FFFFFF#000000##000000
##1F837A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7B7A
Deuteranopia (green-blind)
#6E717B
Tritanopia (blue-blind)
#008680
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f837a;
/* rgb */ color: rgb(31, 131, 122);
/* oklch */ color: oklch(55.3% 0.089 185.9);
Tailwind
colors: {
  custom: {
    50: '#6da7a0',
    500: '#1f837a',
    950: '#000000',
  },
}
SCSS
$custom: #1f837a;
$custom-light: #6da7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f837a",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 122
  },
  "hsl": {
    "h": 174.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.08871,
    "h": 185.9
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#1F837A
secondary
#B64852
accent
#4352E5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #1F837A

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

Preview Lab → · Contrast checker → · Palette generator →

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