#052F28#052F28

#052F28 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.5% C 0.046 H 178.9°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#052F28
RGBrgb(5, 47, 40)
HSLhsl(170, 81%, 10%)
HSVhsv(170, 89%, 18%)
CMYKcmyk(89.4%, 0%, 14.9%, 81.6%)
CIE-LABlab(16.59, -16.14, 0.45)
CIE-LCHlch(16.59, 16.15, 178.41°)
OKLaboklab(27.52% -0.0464 0.0009)
OKLCHoklch(27.52% 0.046 178.9)
XYZxyz(1.4619, 2.2183, 2.3582)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F28 #2F050C
analogous
#052F13 #052F28 #05212F
triadic
#052F28 #28052F #2F2805
tetradic
#052F28 #13052F #2F050C #212F05
square
#052F28 #13052F #2F050C #212F05
split-complementary
#052F28 #2F0521 #2F1305
monochromatic
#031C18 #031C18 #052F28 #0B6657 #119E86

Accessibility & contrast

On white

14.55
#052F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#052F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F28
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F28#FFFFFF#000000##FFFFFF
##052F281.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B28
Deuteranopia (green-blind)
#272729
Tritanopia (blue-blind)
#00302D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #052f28;
/* rgb */ color: rgb(5, 47, 40);
/* oklch */ color: oklch(27.5% 0.046 178.9);
Tailwind
colors: {
  custom: {
    50: '#4d6861',
    500: '#052f28',
    950: '#000000',
  },
}
SCSS
$custom: #052f28;
$custom-light: #4d6861;
$custom-dark: #000000;
JSON
{
  "hex": "#052f28",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 170,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27515,
    "c": 0.04645,
    "h": 178.9
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#052F28
secondary
#711F2D
accent
#3152F7
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020605
muted
#787A79

Preview Lab

Preview with #052F28

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

Preview Lab → · Contrast checker → · Palette generator →

#052F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva