#052A2F#052A2F

#052A2F is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.2% C 0.041 H 208.2°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#052A2F
RGBrgb(5, 42, 47)
HSLhsl(187, 81%, 10%)
HSVhsv(187, 89%, 18%)
CMYKcmyk(89.4%, 10.6%, 0%, 81.6%)
CIE-LABlab(14.92, -10.60, -6.97)
CIE-LCHlch(14.92, 12.68, 213.32°)
OKLaboklab(26.24% -0.0362 -0.0194)
OKLCHoklch(26.24% 0.041 208.2)
XYZxyz(1.4034, 1.8933, 2.9802)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A2F #2F0A05
analogous
#052F1F #052A2F #05152F
triadic
#052A2F #2F052A #2A2F05
tetradic
#052A2F #1F052F #2F0A05 #152F05
square
#052A2F #1F052F #2F0A05 #152F05
split-complementary
#052A2F #2F0515 #2F1F05
monochromatic
#03191C #03191C #052A2F #0B5B66 #118D9E

Accessibility & contrast

On white

15.23
#052A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#052A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052A2F
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A2F#FFFFFF#000000##FFFFFF
##052A2F1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#1F242F
Tritanopia (blue-blind)
#002C2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #052a2f;
/* rgb */ color: rgb(5, 42, 47);
/* oklch */ color: oklch(26.2% 0.041 208.2);
Tailwind
colors: {
  custom: {
    50: '#4d6367',
    500: '#052a2f',
    950: '#000000',
  },
}
SCSS
$custom: #052a2f;
$custom-light: #4d6367;
$custom-dark: #000000;
JSON
{
  "hex": "#052a2f",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 187.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26241,
    "c": 0.04106,
    "h": 208.2
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#052A2F
secondary
#71291F
accent
#4831F7
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #052A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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