#1F5F4E#1F5F4E

#1F5F4E is a dark, moderate teal. Relative luminance 0.090; OKLCH L 44.0% C 0.071 H 172.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#1F5F4E
RGBrgb(31, 95, 78)
HSLhsl(164, 51%, 25%)
HSVhsv(164, 67%, 37%)
CMYKcmyk(67.4%, 0%, 17.9%, 62.7%)
CIE-LABlab(36.03, -24.84, 3.80)
CIE-LCHlch(36.03, 25.13, 171.30°)
OKLaboklab(43.97% -0.0701 0.0097)
OKLCHoklch(43.97% 0.071 172.2)
XYZxyz(6.0318, 9.0251, 8.6304)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F4E #5F1F30
analogous
#1F5F2E #1F5F4E #1F505F
triadic
#1F5F4E #4E1F5F #5F4E1F
tetradic
#1F5F4E #2E1F5F #5F1F30 #505F1F
square
#1F5F4E #2E1F5F #5F1F30 #505F1F
split-complementary
#1F5F4E #5F1F50 #5F2E1F
monochromatic
#081713 #103128 #1F5F4E #2E8D74 #3DBB9A

Accessibility & contrast

On white

7.49
#1F5F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#1F5F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5F4E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F4E#FFFFFF#000000##FFFFFF
##1F5F4E1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C594D
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#00605A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5f4e;
/* rgb */ color: rgb(31, 95, 78);
/* oklch */ color: oklch(44.0% 0.071 172.2);
Tailwind
colors: {
  custom: {
    50: '#638d7f',
    500: '#1f5f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f4e;
$custom-light: #638d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f4e",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 78
  },
  "hsl": {
    "h": 164.063,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.43966,
    "c": 0.07074,
    "h": 172.2
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#1F5F4E
secondary
#94465B
accent
#4E73DA
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#060C0A
muted
#7A7D7C

Preview Lab

Preview with #1F5F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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