#1F5B4E#1F5B4E

#1F5B4E is a dark, moderate teal. Relative luminance 0.083; OKLCH L 42.8% C 0.065 H 176.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#1F5B4E
RGBrgb(31, 91, 78)
HSLhsl(167, 49%, 24%)
HSVhsv(167, 66%, 36%)
CMYKcmyk(65.9%, 0%, 14.3%, 64.3%)
CIE-LABlab(34.65, -22.81, 1.80)
CIE-LCHlch(34.65, 22.88, 175.49°)
OKLaboklab(42.84% -0.0652 0.0044)
OKLCHoklch(42.84% 0.065 176.1)
XYZxyz(5.6807, 8.3229, 8.5134)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B4E #5B1F2C
analogous
#1F5B30 #1F5B4E #1F4A5B
triadic
#1F5B4E #4E1F5B #5B4E1F
tetradic
#1F5B4E #301F5B #5B1F2C #4A5B1F
square
#1F5B4E #301F5B #5B1F2C #4A5B1F
split-complementary
#1F5B4E #5B1F4A #5B301F
monochromatic
#081714 #0F2D27 #1F5B4E #2F8975 #3EB69C

Accessibility & contrast

On white

7.88
#1F5B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1F5B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B4E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B4E#FFFFFF#000000##FFFFFF
##1F5B4E1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58554D
Deuteranopia (green-blind)
#4F4F4F
Tritanopia (blue-blind)
#005C57
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f5b4e;
/* rgb */ color: rgb(31, 91, 78);
/* oklch */ color: oklch(42.8% 0.065 176.1);
Tailwind
colors: {
  custom: {
    50: '#628a7f',
    500: '#1f5b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b4e;
$custom-light: #628a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b4e",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 78
  },
  "hsl": {
    "h": 167,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.06539,
    "h": 176.1
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#1F5B4E
secondary
#904656
accent
#4F6DD9
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#060B0A
muted
#7A7C7C

Preview Lab

Preview with #1F5B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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