#052F1F#052F1F

#052F1F is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.2% C 0.054 H 162.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#052F1F
RGBrgb(5, 47, 31)
HSLhsl(157, 81%, 10%)
HSVhsv(157, 89%, 18%)
CMYKcmyk(89.4%, 0%, 34%, 81.6%)
CIE-LABlab(16.33, -18.96, 6.30)
CIE-LCHlch(16.33, 19.98, 161.61°)
OKLaboklab(27.21% -0.0519 0.016)
OKLCHoklch(27.21% 0.054 162.8)
XYZxyz(1.3263, 2.1641, 1.6439)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052F1F #2F0515
analogous
#052F0A #052F1F #052A2F
triadic
#052F1F #1F052F #2F1F05
tetradic
#052F1F #0A052F #2F0515 #2A2F05
square
#052F1F #0A052F #2F0515 #2A2F05
split-complementary
#052F1F #2F052A #2F0A05
monochromatic
#031C12 #031C12 #052F1F #0B6643 #119E68

Accessibility & contrast

On white

14.66
#052F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#052F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052F1F
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052F1F#FFFFFF#000000##FFFFFF
##052F1F1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1E
Deuteranopia (green-blind)
#292720
Tritanopia (blue-blind)
#002F2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #052f1f;
/* rgb */ color: rgb(5, 47, 31);
/* oklch */ color: oklch(27.2% 0.054 162.8);
Tailwind
colors: {
  custom: {
    50: '#4c685a',
    500: '#052f1f',
    950: '#000000',
  },
}
SCSS
$custom: #052f1f;
$custom-light: #4c685a;
$custom-dark: #000000;
JSON
{
  "hex": "#052f1f",
  "rgb": {
    "r": 5,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 157.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27207,
    "c": 0.05429,
    "h": 162.8
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#052F1F
secondary
#711F3E
accent
#317CF7
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010603
muted
#777A78

Preview Lab

Preview with #052F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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