#2D504C#2D504C

#2D504C is a dark, muted teal. Relative luminance 0.068; OKLCH L 40.3% C 0.041 H 186.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2D504C
RGBrgb(45, 80, 76)
HSLhsl(173, 28%, 25%)
HSVhsv(173, 44%, 31%)
CMYKcmyk(43.7%, 0%, 5%, 68.6%)
CIE-LABlab(31.39, -13.77, -1.63)
CIE-LCHlch(31.39, 13.87, 186.75°)
OKLaboklab(40.34% -0.0411 -0.0046)
OKLCHoklch(40.34% 0.041 186.4)
XYZxyz(5.2549, 6.8166, 7.8749)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D504C #502D31
analogous
#2D503B #2D504C #2D4350
triadic
#2D504C #4C2D50 #504C2D
tetradic
#2D504C #3B2D50 #502D31 #43502D
square
#2D504C #3B2D50 #502D31 #43502D
split-complementary
#2D504C #502D43 #503B2D
monochromatic
#0B1413 #172927 #2D504C #437771 #599E96

Accessibility & contrast

On white

8.89
#2D504C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D504C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D504C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D504C#FFFFFF#000000##FFFFFF
##2D504C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4C
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#1F514F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d504c;
/* rgb */ color: rgb(45, 80, 76);
/* oklch */ color: oklch(40.3% 0.041 186.4);
Tailwind
colors: {
  custom: {
    50: '#68817e',
    500: '#2d504c',
    950: '#000000',
  },
}
SCSS
$custom: #2d504c;
$custom-light: #68817e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d504c",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 76
  },
  "hsl": {
    "h": 173.143,
    "s": 28,
    "l": 24.51
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.04136,
    "h": 186.4
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#2D504C
secondary
#82575C
accent
#636FC4
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#060A09
muted
#7A7C7B

Preview Lab

Preview with #2D504C

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

Preview Lab → · Contrast checker → · Palette generator →

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