#1F5652#1F5652

#1F5652 is a dark, muted teal. Relative luminance 0.076; OKLCH L 41.6% C 0.058 H 188.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#1F5652
RGBrgb(31, 86, 82)
HSLhsl(176, 47%, 23%)
HSVhsv(176, 64%, 34%)
CMYKcmyk(64%, 0%, 4.7%, 66.3%)
CIE-LABlab(33.04, -18.98, -3.06)
CIE-LCHlch(33.04, 19.23, 189.17°)
OKLaboklab(41.57% -0.057 -0.0086)
OKLCHoklch(41.57% 0.058 188.6)
XYZxyz(5.4152, 7.5555, 9.1540)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5652 #561F23
analogous
#1F5636 #1F5652 #1F3E56
triadic
#1F5652 #521F56 #56521F
tetradic
#1F5652 #361F56 #561F23 #3E561F
square
#1F5652 #361F56 #561F23 #3E561F
split-complementary
#1F5652 #561F3E #56361F
monochromatic
#081615 #0F2927 #1F5652 #2F837D #3FB0A8

Accessibility & contrast

On white

8.36
#1F5652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#1F5652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5652
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5652#FFFFFF#000000##FFFFFF
##1F56521.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515152
Deuteranopia (green-blind)
#494B53
Tritanopia (blue-blind)
#005855
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1f5652;
/* rgb */ color: rgb(31, 86, 82);
/* oklch */ color: oklch(41.6% 0.058 188.6);
Tailwind
colors: {
  custom: {
    50: '#628682',
    500: '#1f5652',
    950: '#000000',
  },
}
SCSS
$custom: #1f5652;
$custom-light: #628682;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5652",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 82
  },
  "hsl": {
    "h": 175.636,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41573,
    "c": 0.05768,
    "h": 188.6
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#1F5652
secondary
#8B464B
accent
#515BD7
background
#F6F8F7
surface
#EBEFEE
border
#C6CAC9
text
#050B0A
muted
#7A7C7C

Preview Lab

Preview with #1F5652

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

Preview Lab → · Contrast checker → · Palette generator →

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