#052A31#052A31

#052A31 is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.3% C 0.042 H 213.2°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#052A31
RGBrgb(5, 42, 49)
HSLhsl(190, 81%, 11%)
HSVhsv(190, 90%, 19%)
CMYKcmyk(89.8%, 14.3%, 0%, 80.8%)
CIE-LABlab(15.01, -9.79, -8.24)
CIE-LCHlch(15.01, 12.80, 220.09°)
OKLaboklab(26.34% -0.0351 -0.023)
OKLCHoklch(26.34% 0.042 213.2)
XYZxyz(1.4447, 1.9098, 3.1976)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052A31 #310C05
analogous
#053122 #052A31 #051431
triadic
#052A31 #31052A #2A3105
tetradic
#052A31 #220531 #310C05 #143105
square
#052A31 #220531 #310C05 #143105
split-complementary
#052A31 #310514 #312205
monochromatic
#03181C #03181C #052A31 #0B5A69 #1089A0

Accessibility & contrast

On white

15.20
#052A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052A31
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052A31#FFFFFF#000000##FFFFFF
##052A311.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252831
Deuteranopia (green-blind)
#1F2431
Tritanopia (blue-blind)
#002D2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #052a31;
/* rgb */ color: rgb(5, 42, 49);
/* oklch */ color: oklch(26.3% 0.042 213.2);
Tailwind
colors: {
  custom: {
    50: '#4d6369',
    500: '#052a31',
    950: '#000000',
  },
}
SCSS
$custom: #052a31;
$custom-light: #4d6369;
$custom-dark: #000000;
JSON
{
  "hex": "#052a31",
  "rgb": {
    "r": 5,
    "g": 42,
    "b": 49
  },
  "hsl": {
    "h": 189.545,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26343,
    "c": 0.042,
    "h": 213.2
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#052A31
secondary
#722D1F
accent
#5030F8
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #052A31

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

Preview Lab → · Contrast checker → · Palette generator →

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