#2F5652#2F5652

#2F5652 is a dark, muted teal. Relative luminance 0.079; OKLCH L 42.3% C 0.045 H 187.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2F5652
RGBrgb(47, 86, 82)
HSLhsl(174, 29%, 26%)
HSVhsv(174, 45%, 34%)
CMYKcmyk(45.3%, 0%, 4.7%, 66.3%)
CIE-LABlab(33.71, -14.92, -2.00)
CIE-LCHlch(33.71, 15.06, 187.64°)
OKLaboklab(42.3% -0.0447 -0.0056)
OKLCHoklch(42.3% 0.045 187.2)
XYZxyz(6.0225, 7.8687, 9.1825)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5652 #562F33
analogous
#2F563E #2F5652 #2F4656
triadic
#2F5652 #522F56 #56522F
tetradic
#2F5652 #3E2F56 #562F33 #46562F
square
#2F5652 #3E2F56 #562F33 #46562F
split-complementary
#2F5652 #562F46 #563E2F
monochromatic
#0B1413 #192E2C #2F5652 #457E78 #5AA59D

Accessibility & contrast

On white

8.16
#2F5652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2F5652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F5652#FFFFFF#000000##FFFFFF
##2F56521.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525252
Deuteranopia (green-blind)
#4B4D52
Tritanopia (blue-blind)
#1F5855
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5652;
/* rgb */ color: rgb(47, 86, 82);
/* oklch */ color: oklch(42.3% 0.045 187.2);
Tailwind
colors: {
  custom: {
    50: '#6a8582',
    500: '#2f5652',
    950: '#000000',
  },
}
SCSS
$custom: #2f5652;
$custom-light: #6a8582;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5652",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 82
  },
  "hsl": {
    "h": 173.846,
    "s": 29.323,
    "l": 26.078
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.04501,
    "h": 187.2
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#2F5652
secondary
#87595E
accent
#626CC6
background
#F6F8F7
surface
#EBEFEE
border
#C6CAC9
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #2F5652

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

Preview Lab → · Contrast checker → · Palette generator →

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