#1F5D4E#1F5D4E

#1F5D4E is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.4% C 0.068 H 174.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#1F5D4E
RGBrgb(31, 93, 78)
HSLhsl(165, 50%, 24%)
HSVhsv(165, 67%, 36%)
CMYKcmyk(66.7%, 0%, 16.1%, 63.5%)
CIE-LABlab(35.34, -23.84, 2.80)
CIE-LCHlch(35.34, 24.00, 173.29°)
OKLaboklab(43.4% -0.0677 0.0071)
OKLCHoklch(43.4% 0.068 174.1)
XYZxyz(5.8539, 8.6695, 8.5711)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5D4E #5D1F2E
analogous
#1F5D2F #1F5D4E #1F4D5D
triadic
#1F5D4E #4E1F5D #5D4E1F
tetradic
#1F5D4E #2F1F5D #5D1F2E #4D5D1F
square
#1F5D4E #2F1F5D #5D1F2E #4D5D1F
split-complementary
#1F5D4E #5D1F4D #5D2F1F
monochromatic
#081713 #102F28 #1F5D4E #2E8B74 #3EB99B

Accessibility & contrast

On white

7.68
#1F5D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1F5D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5D4E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5D4E#FFFFFF#000000##FFFFFF
##1F5D4E1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A574D
Deuteranopia (green-blind)
#51504F
Tritanopia (blue-blind)
#005E59
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5d4e;
/* rgb */ color: rgb(31, 93, 78);
/* oklch */ color: oklch(43.4% 0.068 174.1);
Tailwind
colors: {
  custom: {
    50: '#638b7f',
    500: '#1f5d4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5d4e;
$custom-light: #638b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5d4e",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 78
  },
  "hsl": {
    "h": 165.484,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.06804,
    "h": 174.1
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#1F5D4E
secondary
#924658
accent
#4E70DA
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#060C0A
muted
#7A7D7C

Preview Lab

Preview with #1F5D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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