#1F504D#1F504D

#1F504D is a dark, muted teal. Relative luminance 0.066; OKLCH L 39.7% C 0.053 H 189.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#1F504D
RGBrgb(31, 80, 77)
HSLhsl(176, 44%, 22%)
HSVhsv(176, 61%, 31%)
CMYKcmyk(61.2%, 0%, 3.7%, 68.6%)
CIE-LABlab(30.79, -17.23, -3.21)
CIE-LCHlch(30.79, 17.53, 190.56°)
OKLaboklab(39.7% -0.0521 -0.009)
OKLCHoklch(39.7% 0.053 189.8)
XYZxyz(4.7727, 6.5640, 8.0352)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F504D #501F22
analogous
#1F5035 #1F504D #1F3B50
triadic
#1F504D #4D1F50 #504D1F
tetradic
#1F504D #351F50 #501F22 #3B501F
square
#1F504D #351F50 #501F22 #3B501F
split-complementary
#1F504D #501F3B #50351F
monochromatic
#091615 #0E2423 #1F504D #307C77 #41A8A2

Accessibility & contrast

On white

9.08
#1F504D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1F504D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F504D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F504D#FFFFFF#000000##FFFFFF
##1F504D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4D
Deuteranopia (green-blind)
#44464D
Tritanopia (blue-blind)
#00524F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f504d;
/* rgb */ color: rgb(31, 80, 77);
/* oklch */ color: oklch(39.7% 0.053 189.8);
Tailwind
colors: {
  custom: {
    50: '#61817e',
    500: '#1f504d',
    950: '#000000',
  },
}
SCSS
$custom: #1f504d;
$custom-light: #61817e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f504d",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 77
  },
  "hsl": {
    "h": 176.327,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39699,
    "c": 0.05283,
    "h": 189.8
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#1F504D
secondary
#85464A
accent
#545CD4
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1F504D

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

Preview Lab → · Contrast checker → · Palette generator →

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