#1F504E#1F504E

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

Color values

HEX#1F504E
RGBrgb(31, 80, 78)
HSLhsl(178, 44%, 22%)
HSVhsv(178, 61%, 31%)
CMYKcmyk(61.2%, 0%, 2.5%, 68.6%)
CIE-LABlab(30.83, -16.92, -3.80)
CIE-LCHlch(30.83, 17.34, 192.66°)
OKLaboklab(39.74% -0.0515 -0.0106)
OKLCHoklch(39.74% 0.053 191.6)
XYZxyz(4.8083, 6.5782, 8.2226)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F504E #501F21
analogous
#1F5036 #1F504E #1F3A50
triadic
#1F504E #4E1F50 #504E1F
tetradic
#1F504E #361F50 #501F21 #3A501F
square
#1F504E #361F50 #501F21 #3A501F
split-complementary
#1F504E #501F3A #50361F
monochromatic
#091616 #0E2423 #1F504E #307C79 #41A8A4

Accessibility & contrast

On white

9.07
#1F504E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F504E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F504E#FFFFFF#000000##FFFFFF
##1F504E1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C4E
Deuteranopia (green-blind)
#43464E
Tritanopia (blue-blind)
#00524F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f504e;
/* rgb */ color: rgb(31, 80, 78);
/* oklch */ color: oklch(39.7% 0.053 191.6);
Tailwind
colors: {
  custom: {
    50: '#61817f',
    500: '#1f504e',
    950: '#000000',
  },
}
SCSS
$custom: #1f504e;
$custom-light: #61817f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f504e",
  "rgb": {
    "r": 31,
    "g": 80,
    "b": 78
  },
  "hsl": {
    "h": 177.551,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39738,
    "c": 0.05262,
    "h": 191.6
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#1F504E
secondary
#854649
accent
#5459D4
background
#F5F7F7
surface
#EAEEEE
border
#C6C9C9
text
#050A0A
muted
#797C7C

Preview Lab

Preview with #1F504E

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

Preview Lab → · Contrast checker → · Palette generator →

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