#052A1B#052A1B

#052A1B is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.4% C 0.050 H 161.9°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#052A1B
RGBrgb(5, 42, 27)
HSLhsl(156, 79%, 9%)
HSVhsv(156, 88%, 16%)
CMYKcmyk(88.1%, 0%, 35.7%, 83.5%)
CIE-LABlab(14.21, -17.54, 6.15)
CIE-LCHlch(14.21, 18.59, 160.69°)
OKLaboklab(25.44% -0.0479 0.0156)
OKLCHoklch(25.44% 0.05 161.9)
XYZxyz(1.0883, 1.7672, 1.3204)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A1B #2A0514
analogous
#052A09 #052A1B #05272A
triadic
#052A1B #1B052A #2A1B05
tetradic
#052A1B #09052A #2A0514 #272A05
square
#052A1B #09052A #2A0514 #272A05
split-complementary
#052A1B #2A0527 #2A0905
monochromatic
#031B12 #031B12 #052A1B #0C613E #129761

Accessibility & contrast

On white

15.52
#052A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#052A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052A1B
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A1B#FFFFFF#000000##FFFFFF
##052A1B1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261A
Deuteranopia (green-blind)
#24231C
Tritanopia (blue-blind)
#002A26
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #052a1b;
/* rgb */ color: rgb(5, 42, 27);
/* oklch */ color: oklch(25.4% 0.050 161.9);
Tailwind
colors: {
  custom: {
    50: '#4b6457',
    500: '#052a1b',
    950: '#000000',
  },
}
SCSS
$custom: #052a1b;
$custom-light: #4b6457;
$custom-dark: #000000;
JSON
{
  "hex": "#052a1b",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 27
  },
  "hsl": {
    "h": 155.676,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25437,
    "c": 0.05042,
    "h": 161.9
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#052A1B
secondary
#6C1F3E
accent
#3381F5
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#010503
muted
#777A78

Preview Lab

Preview with #052A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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