#1F565B#1F565B

#1F565B is a dark, muted teal. Relative luminance 0.077; OKLCH L 41.9% C 0.057 H 203.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#1F565B
RGBrgb(31, 86, 91)
HSLhsl(185, 49%, 24%)
HSVhsv(185, 66%, 36%)
CMYKcmyk(65.9%, 5.5%, 0%, 64.3%)
CIE-LABlab(33.35, -16.10, -8.27)
CIE-LCHlch(33.35, 18.10, 207.19°)
OKLaboklab(41.93% -0.0526 -0.0229)
OKLCHoklch(41.93% 0.057 203.5)
XYZxyz(5.7804, 7.7016, 11.0774)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F565B #5B241F
analogous
#1F5B42 #1F565B #1F385B
triadic
#1F565B #5B1F56 #565B1F
tetradic
#1F565B #421F5B #5B241F #385B1F
square
#1F565B #421F5B #5B241F #385B1F
split-complementary
#1F565B #5B1F38 #5B421F
monochromatic
#081617 #0F2B2D #1F565B #2F8189 #3EACB6

Accessibility & contrast

On white

8.27
#1F565B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1F565B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F565B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F565B#FFFFFF#000000##FFFFFF
##1F565B1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525B
Deuteranopia (green-blind)
#464C5B
Tritanopia (blue-blind)
#005957
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f565b;
/* rgb */ color: rgb(31, 86, 91);
/* oklch */ color: oklch(41.9% 0.057 203.5);
Tailwind
colors: {
  custom: {
    50: '#638689',
    500: '#1f565b',
    950: '#000000',
  },
}
SCSS
$custom: #1f565b;
$custom-light: #638689;
$custom-dark: #000000;
JSON
{
  "hex": "#1f565b",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 91
  },
  "hsl": {
    "h": 185,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.05735,
    "h": 203.5
  },
  "luminance": 0.07702
}

Semantic roles & 50–950 ramp

primary
#1F565B
secondary
#904C46
accent
#5B4FD9
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#060B0B
muted
#7A7C7C

Preview Lab

Preview with #1F565B

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

Preview Lab → · Contrast checker → · Palette generator →

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