#052A1C#052A1C

#052A1C is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.5% C 0.049 H 163.5°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#052A1C
RGBrgb(5, 42, 28)
HSLhsl(157, 79%, 9%)
HSVhsv(157, 88%, 16%)
CMYKcmyk(88.1%, 0%, 33.3%, 83.5%)
CIE-LABlab(14.24, -17.25, 5.48)
CIE-LCHlch(14.24, 18.10, 162.37°)
OKLaboklab(25.47% -0.0473 0.014)
OKLCHoklch(25.47% 0.049 163.5)
XYZxyz(1.1000, 1.7719, 1.3824)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A1C #2A0513
analogous
#052A0A #052A1C #05262A
triadic
#052A1C #1C052A #2A1C05
tetradic
#052A1C #0A052A #2A0513 #262A05
square
#052A1C #0A052A #2A0513 #262A05
split-complementary
#052A1C #2A0526 #2A0A05
monochromatic
#031B12 #031B12 #052A1C #0C6140 #129765

Accessibility & contrast

On white

15.51
#052A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052A1C
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A1C#FFFFFF#000000##FFFFFF
##052A1C1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052a1c;
/* rgb */ color: rgb(5, 42, 28);
/* oklch */ color: oklch(25.5% 0.049 163.5);
Tailwind
colors: {
  custom: {
    50: '#4b6458',
    500: '#052a1c',
    950: '#000000',
  },
}
SCSS
$custom: #052a1c;
$custom-light: #4b6458;
$custom-dark: #000000;
JSON
{
  "hex": "#052a1c",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 28
  },
  "hsl": {
    "h": 157.297,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25467,
    "c": 0.04934,
    "h": 163.5
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#052A1C
secondary
#6C1F3C
accent
#337CF5
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #052A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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