#1F504F#1F504F

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

Color values

HEX#1F504F
RGBrgb(31, 80, 79)
HSLhsl(179, 44%, 22%)
HSVhsv(179, 61%, 31%)
CMYKcmyk(61.2%, 0%, 1.2%, 68.6%)
CIE-LABlab(30.86, -16.60, -4.39)
CIE-LCHlch(30.86, 17.17, 194.81°)
OKLaboklab(39.78% -0.051 -0.0122)
OKLCHoklch(39.78% 0.052 193.4)
XYZxyz(4.8444, 6.5927, 8.4128)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F504F #501F20
analogous
#1F5037 #1F504F #1F3950
triadic
#1F504F #4F1F50 #504F1F
tetradic
#1F504F #371F50 #501F20 #39501F
square
#1F504F #371F50 #501F20 #39501F
split-complementary
#1F504F #501F39 #50371F
monochromatic
#091616 #0E2423 #1F504F #307C7B #41A8A6

Accessibility & contrast

On white

9.06
#1F504F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1F504F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F504F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F504F#FFFFFF#000000##FFFFFF
##1F504F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C4F
Deuteranopia (green-blind)
#43464F
Tritanopia (blue-blind)
#005250
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f504f;
/* rgb */ color: rgb(31, 80, 79);
/* oklch */ color: oklch(39.8% 0.052 193.4);
Tailwind
colors: {
  custom: {
    50: '#618180',
    500: '#1f504f',
    950: '#000000',
  },
}
SCSS
$custom: #1f504f;
$custom-light: #618180;
$custom-dark: #000000;
JSON
{
  "hex": "#1f504f",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 79
  },
  "hsl": {
    "h": 178.776,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.05248,
    "h": 193.4
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#1F504F
secondary
#854647
accent
#5457D4
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1F504F

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

Preview Lab → · Contrast checker → · Palette generator →

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