#1F565D#1F565D

#1F565D is a dark, muted teal. Relative luminance 0.077; OKLCH L 42.0% C 0.058 H 206.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#1F565D
RGBrgb(31, 86, 93)
HSLhsl(187, 50%, 24%)
HSVhsv(187, 67%, 36%)
CMYKcmyk(66.7%, 7.5%, 0%, 63.5%)
CIE-LABlab(33.43, -15.44, -9.42)
CIE-LCHlch(33.43, 18.09, 211.39°)
OKLaboklab(42.02% -0.0516 -0.0261)
OKLCHoklch(42.02% 0.058 206.8)
XYZxyz(5.8678, 7.7366, 11.5379)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F565D #5D261F
analogous
#1F5D45 #1F565D #1F375D
triadic
#1F565D #5D1F56 #565D1F
tetradic
#1F565D #451F5D #5D261F #375D1F
square
#1F565D #451F5D #5D261F #375D1F
split-complementary
#1F565D #5D1F37 #5D451F
monochromatic
#081517 #102C2F #1F565D #2E808B #3EABB9

Accessibility & contrast

On white

8.24
#1F565D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#1F565D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F565D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F565D#FFFFFF#000000##FFFFFF
##1F565D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535D
Deuteranopia (green-blind)
#454C5D
Tritanopia (blue-blind)
#005A58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f565d;
/* rgb */ color: rgb(31, 86, 93);
/* oklch */ color: oklch(42.0% 0.058 206.8);
Tailwind
colors: {
  custom: {
    50: '#63858a',
    500: '#1f565d',
    950: '#000000',
  },
}
SCSS
$custom: #1f565d;
$custom-light: #63858a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f565d",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 93
  },
  "hsl": {
    "h": 186.774,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42016,
    "c": 0.05786,
    "h": 206.8
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#1F565D
secondary
#924F46
accent
#5E4EDA
background
#F6F8F8
surface
#EBEFF0
border
#C6CACB
text
#060B0B
muted
#7A7C7C

Preview Lab

Preview with #1F565D

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

Preview Lab → · Contrast checker → · Palette generator →

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