#1F4E4E#1F4E4E

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

Color values

HEX#1F4E4E
RGBrgb(31, 78, 78)
HSLhsl(180, 43%, 21%)
HSVhsv(180, 60%, 31%)
CMYKcmyk(60.3%, 0%, 0%, 69.4%)
CIE-LABlab(30.13, -15.79, -4.83)
CIE-LCHlch(30.13, 16.51, 197.02°)
OKLaboklab(39.18% -0.049 -0.0134)
OKLCHoklch(39.18% 0.051 195.3)
XYZxyz(4.6640, 6.2897, 8.1745)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E4E #4E1F1F
analogous
#1F4E37 #1F4E4E #1F374E
triadic
#1F4E4E #4E1F4E #4E4E1F
tetradic
#1F4E4E #371F4E #4E1F1F #374E1F
square
#1F4E4E #371F4E #4E1F1F #374E1F
split-complementary
#1F4E4E #4E1F37 #4E371F
monochromatic
#091616 #0E2222 #1F4E4E #307A7A #42A6A6

Accessibility & contrast

On white

9.30
#1F4E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4E4E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E4E#FFFFFF#000000##FFFFFF
##1F4E4E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494A4E
Deuteranopia (green-blind)
#41454E
Tritanopia (blue-blind)
#00504E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f4e4e;
/* rgb */ color: rgb(31, 78, 78);
/* oklch */ color: oklch(39.2% 0.051 195.3);
Tailwind
colors: {
  custom: {
    50: '#607f7f',
    500: '#1f4e4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e4e;
$custom-light: #607f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e4e",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 78
  },
  "hsl": {
    "h": 180,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.39176,
    "c": 0.0508,
    "h": 195.3
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#1F4E4E
secondary
#834646
accent
#5555D3
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1F4E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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