#1F5C4E#1F5C4E

#1F5C4E is a dark, moderate teal. Relative luminance 0.085; OKLCH L 43.1% C 0.067 H 175.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#1F5C4E
RGBrgb(31, 92, 78)
HSLhsl(166, 50%, 24%)
HSVhsv(166, 66%, 36%)
CMYKcmyk(66.3%, 0%, 15.2%, 63.9%)
CIE-LABlab(34.99, -23.33, 2.30)
CIE-LCHlch(34.99, 23.44, 174.36°)
OKLaboklab(43.12% -0.0665 0.0057)
OKLCHoklch(43.12% 0.067 175.1)
XYZxyz(5.7667, 8.4951, 8.5420)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C4E #5C1F2D
analogous
#1F5C30 #1F5C4E #1F4C5C
triadic
#1F5C4E #4E1F5C #5C4E1F
tetradic
#1F5C4E #301F5C #5C1F2D #4C5C1F
square
#1F5C4E #301F5C #5C1F2D #4C5C1F
split-complementary
#1F5C4E #5C1F4C #5C301F
monochromatic
#081713 #102E27 #1F5C4E #2E8A75 #3EB89C

Accessibility & contrast

On white

7.78
#1F5C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#1F5C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5C4E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C4E#FFFFFF#000000##FFFFFF
##1F5C4E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59564D
Deuteranopia (green-blind)
#50504F
Tritanopia (blue-blind)
#005D58
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5c4e;
/* rgb */ color: rgb(31, 92, 78);
/* oklch */ color: oklch(43.1% 0.067 175.1);
Tailwind
colors: {
  custom: {
    50: '#638a7f',
    500: '#1f5c4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c4e;
$custom-light: #638a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c4e",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 78
  },
  "hsl": {
    "h": 166.23,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.43119,
    "c": 0.06671,
    "h": 175.1
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#1F5C4E
secondary
#914657
accent
#4F6ED9
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#060C0A
muted
#7A7D7C

Preview Lab

Preview with #1F5C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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