#1F787D#1F787D

#1F787D is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.080 H 200.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1F787D
RGBrgb(31, 120, 125)
HSLhsl(183, 60%, 31%)
HSVhsv(183, 75%, 49%)
CMYKcmyk(75.2%, 4%, 0%, 51%)
CIE-LABlab(45.91, -23.34, -10.18)
CIE-LCHlch(45.91, 25.46, 203.56°)
OKLaboklab(52.49% -0.0751 -0.0283)
OKLCHoklch(52.49% 0.08 200.6)
XYZxyz(10.9816, 15.2036, 21.7539)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F787D #7D241F
analogous
#1F7D53 #1F787D #1F497D
triadic
#1F787D #7D1F78 #787D1F
tetradic
#1F787D #531F7D #7D241F #497D1F
square
#1F787D #531F7D #7D241F #497D1F
split-complementary
#1F787D #7D1F49 #7D531F
monochromatic
#071A1B #13494C #1F787D #2BA7AE #45CAD1

Accessibility & contrast

On white

5.20
#1F787D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1F787D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F787D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F787D#FFFFFF#000000##FFFFFF
##1F787D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F727D
Deuteranopia (green-blind)
#61697D
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f787d;
/* rgb */ color: rgb(31, 120, 125);
/* oklch */ color: oklch(52.5% 0.080 200.6);
Tailwind
colors: {
  custom: {
    50: '#6b9fa2',
    500: '#1f787d',
    950: '#000000',
  },
}
SCSS
$custom: #1f787d;
$custom-light: #6b9fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f787d",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 183.191,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.08022,
    "h": 200.6
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

primary
#1F787D
secondary
#B04D48
accent
#4D44E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #1F787D

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

Preview Lab → · Contrast checker → · Palette generator →

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