#1F595F#1F595F

#1F595F is a dark, muted teal. Relative luminance 0.083; OKLCH L 42.9% C 0.060 H 204.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#1F595F
RGBrgb(31, 89, 95)
HSLhsl(186, 51%, 25%)
HSVhsv(186, 67%, 37%)
CMYKcmyk(67.4%, 6.3%, 0%, 62.7%)
CIE-LABlab(34.52, -16.47, -9.03)
CIE-LCHlch(34.52, 18.78, 208.73°)
OKLaboklab(42.92% -0.0543 -0.025)
OKLCHoklch(42.92% 0.06 204.7)
XYZxyz(6.2021, 8.2616, 12.0920)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F595F #5F251F
analogous
#1F5F45 #1F595F #1F395F
triadic
#1F595F #5F1F59 #595F1F
tetradic
#1F595F #451F5F #5F251F #395F1F
square
#1F595F #451F5F #5F251F #395F1F
split-complementary
#1F595F #5F1F39 #5F451F
monochromatic
#081617 #102E31 #1F595F #2E848D #3DAFBB

Accessibility & contrast

On white

7.92
#1F595F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#1F595F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F595F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F595F#FFFFFF#000000##FFFFFF
##1F595F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555F
Deuteranopia (green-blind)
#484E5F
Tritanopia (blue-blind)
#005D5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f595f;
/* rgb */ color: rgb(31, 89, 95);
/* oklch */ color: oklch(42.9% 0.060 204.7);
Tailwind
colors: {
  custom: {
    50: '#64888c',
    500: '#1f595f',
    950: '#000000',
  },
}
SCSS
$custom: #1f595f;
$custom-light: #64888c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f595f",
  "rgb": {
    "r": 31,
    "g": 89,
    "b": 95
  },
  "hsl": {
    "h": 185.625,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.05976,
    "h": 204.7
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#1F595F
secondary
#944D46
accent
#5B4EDA
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#060B0C
muted
#7A7C7D

Preview Lab

Preview with #1F595F

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

Preview Lab → · Contrast checker → · Palette generator →

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