#1F4E4D#1F4E4D

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

Color values

HEX#1F4E4D
RGBrgb(31, 78, 77)
HSLhsl(179, 43%, 21%)
HSVhsv(179, 60%, 31%)
CMYKcmyk(60.3%, 0%, 1.3%, 69.4%)
CIE-LABlab(30.10, -16.11, -4.24)
CIE-LCHlch(30.10, 16.66, 194.76°)
OKLaboklab(39.14% -0.0495 -0.0118)
OKLCHoklch(39.14% 0.051 193.4)
XYZxyz(4.6284, 6.2755, 7.9871)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E4D #4E1F20
analogous
#1F4E36 #1F4E4D #1F384E
triadic
#1F4E4D #4D1F4E #4E4D1F
tetradic
#1F4E4D #361F4E #4E1F20 #384E1F
square
#1F4E4D #361F4E #4E1F20 #384E1F
split-complementary
#1F4E4D #4E1F38 #4E361F
monochromatic
#091616 #0E2222 #1F4E4D #307A78 #42A6A3

Accessibility & contrast

On white

9.31
#1F4E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E4D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E4D#FFFFFF#000000##FFFFFF
##1F4E4D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4D
Deuteranopia (green-blind)
#42444D
Tritanopia (blue-blind)
#00504E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f4e4d;
/* rgb */ color: rgb(31, 78, 77);
/* oklch */ color: oklch(39.1% 0.051 193.4);
Tailwind
colors: {
  custom: {
    50: '#607f7e',
    500: '#1f4e4d',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e4d;
$custom-light: #607f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e4d",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 77
  },
  "hsl": {
    "h": 178.723,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39137,
    "c": 0.05089,
    "h": 193.4
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#1F4E4D
secondary
#834647
accent
#5558D3
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1F4E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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