#1F4D4E#1F4D4E

#1F4D4E is a dark, muted teal. Relative luminance 0.061; OKLCH L 38.9% C 0.050 H 197.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1F4D4E
RGBrgb(31, 77, 78)
HSLhsl(181, 43%, 21%)
HSVhsv(181, 60%, 31%)
CMYKcmyk(60.3%, 1.3%, 0%, 69.4%)
CIE-LABlab(29.78, -15.22, -5.35)
CIE-LCHlch(29.78, 16.13, 199.37°)
OKLaboklab(38.9% -0.0477 -0.0148)
OKLCHoklch(38.9% 0.05 197.2)
XYZxyz(4.5935, 6.1487, 8.1510)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4D4E #4E201F
analogous
#1F4E38 #1F4D4E #1F364E
triadic
#1F4D4E #4E1F4D #4D4E1F
tetradic
#1F4D4E #381F4E #4E201F #364E1F
square
#1F4D4E #381F4E #4E201F #364E1F
split-complementary
#1F4D4E #4E1F36 #4E381F
monochromatic
#091616 #0E2222 #1F4D4E #30787A #42A3A6

Accessibility & contrast

On white

9.42
#1F4D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1F4D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4D4E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4D4E#FFFFFF#000000##FFFFFF
##1F4D4E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494E
Deuteranopia (green-blind)
#40444E
Tritanopia (blue-blind)
#00504D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f4d4e;
/* rgb */ color: rgb(31, 77, 78);
/* oklch */ color: oklch(38.9% 0.050 197.2);
Tailwind
colors: {
  custom: {
    50: '#607f7f',
    500: '#1f4d4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f4d4e;
$custom-light: #607f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4d4e",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 78
  },
  "hsl": {
    "h": 181.277,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.38896,
    "c": 0.04996,
    "h": 197.2
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#1F4D4E
secondary
#834746
accent
#5855D3
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1F4D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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