#1F585F#1F585F

#1F585F is a dark, muted teal. Relative luminance 0.081; OKLCH L 42.6% C 0.059 H 206.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#1F585F
RGBrgb(31, 88, 95)
HSLhsl(187, 51%, 25%)
HSVhsv(187, 67%, 37%)
CMYKcmyk(67.4%, 7.4%, 0%, 62.7%)
CIE-LABlab(34.18, -15.91, -9.54)
CIE-LCHlch(34.18, 18.55, 210.95°)
OKLaboklab(42.65% -0.0531 -0.0264)
OKLCHoklch(42.65% 0.059 206.5)
XYZxyz(6.1195, 8.0963, 12.0645)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F585F #5F261F
analogous
#1F5F46 #1F585F #1F385F
triadic
#1F585F #5F1F58 #585F1F
tetradic
#1F585F #461F5F #5F261F #385F1F
square
#1F585F #461F5F #5F261F #385F1F
split-complementary
#1F585F #5F1F38 #5F461F
monochromatic
#081517 #102D31 #1F585F #2E838D #3DADBB

Accessibility & contrast

On white

8.02
#1F585F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#1F585F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F585F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F585F#FFFFFF#000000##FFFFFF
##1F585F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545F
Deuteranopia (green-blind)
#474D5F
Tritanopia (blue-blind)
#005C5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1f585f;
/* rgb */ color: rgb(31, 88, 95);
/* oklch */ color: oklch(42.6% 0.059 206.5);
Tailwind
colors: {
  custom: {
    50: '#64878c',
    500: '#1f585f',
    950: '#000000',
  },
}
SCSS
$custom: #1f585f;
$custom-light: #64878c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f585f",
  "rgb": {
    "r": 31,
    "g": 88,
    "b": 95
  },
  "hsl": {
    "h": 186.563,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42649,
    "c": 0.05931,
    "h": 206.5
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#1F585F
secondary
#944F46
accent
#5D4EDA
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#060B0C
muted
#7A7C7D

Preview Lab

Preview with #1F585F

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

Preview Lab → · Contrast checker → · Palette generator →

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