#1F817D#1F817D

#1F817D is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.9% C 0.086 H 190.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F817D
RGBrgb(31, 129, 125)
HSLhsl(178, 61%, 31%)
HSVhsv(178, 76%, 51%)
CMYKcmyk(76%, 0%, 3.1%, 49.4%)
CIE-LABlab(48.85, -27.88, -5.79)
CIE-LCHlch(48.85, 28.48, 191.72°)
OKLaboklab(54.87% -0.0847 -0.0162)
OKLCHoklch(54.87% 0.086 190.8)
XYZxyz(12.1153, 17.4710, 22.1318)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F817D #811F23
analogous
#1F814C #1F817D #1F5481
triadic
#1F817D #7D1F81 #817D1F
tetradic
#1F817D #4C1F81 #811F23 #54811F
square
#1F817D #4C1F81 #811F23 #54811F
split-complementary
#1F817D #811F54 #814C1F
monochromatic
#071E1D #13504D #1F817D #2BB2AD #47D3CD

Accessibility & contrast

On white

4.67
#1F817D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F817D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F817D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F817D#FFFFFF#000000##FFFFFF
##1F817D1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7D
Deuteranopia (green-blind)
#6B707E
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f817d;
/* rgb */ color: rgb(31, 129, 125);
/* oklch */ color: oklch(54.9% 0.086 190.8);
Tailwind
colors: {
  custom: {
    50: '#6ca6a2',
    500: '#1f817d',
    950: '#000000',
  },
}
SCSS
$custom: #1f817d;
$custom-light: #6ca6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f817d",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 125
  },
  "hsl": {
    "h": 177.551,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.0862,
    "h": 190.8
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#1F817D
secondary
#B4484C
accent
#434AE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #1F817D

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

Preview Lab → · Contrast checker → · Palette generator →

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