#1F4E4F#1F4E4F

#1F4E4F is a dark, muted teal. Relative luminance 0.063; OKLCH L 39.2% C 0.051 H 197.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#1F4E4F
RGBrgb(31, 78, 79)
HSLhsl(181, 44%, 22%)
HSVhsv(181, 61%, 31%)
CMYKcmyk(60.8%, 1.3%, 0%, 69%)
CIE-LABlab(30.17, -15.47, -5.42)
CIE-LCHlch(30.17, 16.39, 199.32°)
OKLaboklab(39.22% -0.0485 -0.015)
OKLCHoklch(39.22% 0.051 197.2)
XYZxyz(4.7002, 6.3041, 8.3647)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E4F #4F201F
analogous
#1F4F38 #1F4E4F #1F364F
triadic
#1F4E4F #4F1F4E #4E4F1F
tetradic
#1F4E4F #381F4F #4F201F #364F1F
square
#1F4E4F #381F4F #4F201F #364F1F
split-complementary
#1F4E4F #4F1F36 #4F381F
monochromatic
#091616 #0E2323 #1F4E4F #30797B #41A5A7

Accessibility & contrast

On white

9.29
#1F4E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1F4E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E4F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E4F#FFFFFF#000000##FFFFFF
##1F4E4F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4F
Deuteranopia (green-blind)
#41454F
Tritanopia (blue-blind)
#00514E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f4e4f;
/* rgb */ color: rgb(31, 78, 79);
/* oklch */ color: oklch(39.2% 0.051 197.2);
Tailwind
colors: {
  custom: {
    50: '#617f80',
    500: '#1f4e4f',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e4f;
$custom-light: #617f80;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e4f",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 79
  },
  "hsl": {
    "h": 181.25,
    "s": 43.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39216,
    "c": 0.05077,
    "h": 197.2
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#1F4E4F
secondary
#844746
accent
#5754D3
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1F4E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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