#05342A#05342A

#05342A is a dark, muted teal. Relative luminance 0.027; OKLCH L 29.2% C 0.052 H 174.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#05342A
RGBrgb(5, 52, 42)
HSLhsl(167, 82%, 11%)
HSVhsv(167, 90%, 20%)
CMYKcmyk(90.4%, 0%, 19.2%, 79.6%)
CIE-LABlab(18.61, -18.19, 1.98)
CIE-LCHlch(18.61, 18.30, 173.78°)
OKLaboklab(29.18% -0.0515 0.005)
OKLCHoklch(29.18% 0.052 174.5)
XYZxyz(1.7083, 2.6552, 2.6125)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05342A #34050F
analogous
#053412 #05342A #052634
triadic
#05342A #2A0534 #342A05
tetradic
#05342A #120534 #34050F #263405
square
#05342A #120534 #34050F #263405
split-complementary
#05342A #340526 #341205
monochromatic
#031C17 #031C17 #05342A #0A6C57 #10A484

Accessibility & contrast

On white

13.72
#05342A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#05342A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05342A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05342A#FFFFFF#000000##FFFFFF
##05342A1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32302A
Deuteranopia (green-blind)
#2C2B2B
Tritanopia (blue-blind)
#003531
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #05342a;
/* rgb */ color: rgb(5, 52, 42);
/* oklch */ color: oklch(29.2% 0.052 174.5);
Tailwind
colors: {
  custom: {
    50: '#4e6c63',
    500: '#05342a',
    950: '#000000',
  },
}
SCSS
$custom: #05342a;
$custom-light: #4e6c63;
$custom-dark: #000000;
JSON
{
  "hex": "#05342a",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 167.234,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29183,
    "c": 0.05171,
    "h": 174.5
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#05342A
secondary
#751F32
accent
#2F5AF9
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020705
muted
#787A79

Preview Lab

Preview with #05342A

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

Preview Lab → · Contrast checker → · Palette generator →

#05342A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva