#1F575F#1F575F

#1F575F is a dark, muted teal. Relative luminance 0.079; OKLCH L 42.4% C 0.059 H 208.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#1F575F
RGBrgb(31, 87, 95)
HSLhsl(188, 51%, 25%)
HSVhsv(188, 67%, 37%)
CMYKcmyk(67.4%, 8.4%, 0%, 62.7%)
CIE-LABlab(33.84, -15.34, -10.05)
CIE-LCHlch(33.84, 18.34, 213.24°)
OKLaboklab(42.38% -0.0519 -0.0279)
OKLCHoklch(42.38% 0.059 208.2)
XYZxyz(6.0380, 7.9333, 12.0373)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F575F #5F271F
analogous
#1F5F47 #1F575F #1F375F
triadic
#1F575F #5F1F57 #575F1F
tetradic
#1F575F #471F5F #5F271F #375F1F
square
#1F575F #471F5F #5F271F #375F1F
split-complementary
#1F575F #5F1F37 #5F471F
monochromatic
#081517 #102D31 #1F575F #2E818D #3DACBB

Accessibility & contrast

On white

8.12
#1F575F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#1F575F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F575F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F575F#FFFFFF#000000##FFFFFF
##1F575F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5460
Deuteranopia (green-blind)
#464D5F
Tritanopia (blue-blind)
#005B59
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f575f;
/* rgb */ color: rgb(31, 87, 95);
/* oklch */ color: oklch(42.4% 0.059 208.2);
Tailwind
colors: {
  custom: {
    50: '#63868c',
    500: '#1f575f',
    950: '#000000',
  },
}
SCSS
$custom: #1f575f;
$custom-light: #63868c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f575f",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 95
  },
  "hsl": {
    "h": 187.5,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42375,
    "c": 0.0589,
    "h": 208.2
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#1F575F
secondary
#945046
accent
#5F4EDA
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#060B0C
muted
#7A7C7D

Preview Lab

Preview with #1F575F

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

Preview Lab → · Contrast checker → · Palette generator →

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