#1F4F4E#1F4F4E

#1F4F4E is a dark, muted teal. Relative luminance 0.064; OKLCH L 39.5% C 0.052 H 193.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#1F4F4E
RGBrgb(31, 79, 78)
HSLhsl(179, 44%, 22%)
HSVhsv(179, 61%, 31%)
CMYKcmyk(60.8%, 0%, 1.3%, 69%)
CIE-LABlab(30.48, -16.36, -4.32)
CIE-LCHlch(30.48, 16.92, 194.78°)
OKLaboklab(39.46% -0.0503 -0.012)
OKLCHoklch(39.46% 0.052 193.4)
XYZxyz(4.7356, 6.4329, 8.1984)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4F4E #4F1F20
analogous
#1F4F36 #1F4F4E #1F384F
triadic
#1F4F4E #4E1F4F #4F4E1F
tetradic
#1F4F4E #361F4F #4F1F20 #384F1F
square
#1F4F4E #361F4F #4F1F20 #384F1F
split-complementary
#1F4F4E #4F1F38 #4F361F
monochromatic
#091616 #0E2323 #1F4F4E #307B79 #41A7A5

Accessibility & contrast

On white

9.18
#1F4F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1F4F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4F4E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4F4E#FFFFFF#000000##FFFFFF
##1F4F4E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4E
Deuteranopia (green-blind)
#42454E
Tritanopia (blue-blind)
#00514F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f4f4e;
/* rgb */ color: rgb(31, 79, 78);
/* oklch */ color: oklch(39.5% 0.052 193.4);
Tailwind
colors: {
  custom: {
    50: '#61807f',
    500: '#1f4f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f4f4e;
$custom-light: #61807f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4f4e",
  "rgb": {
    "r": 31,
    "g": 79,
    "b": 78
  },
  "hsl": {
    "h": 178.75,
    "s": 43.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.05169,
    "h": 193.4
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#1F4F4E
secondary
#844647
accent
#5457D3
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1F4F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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