#05342F#05342F

#05342F is a dark, muted teal. Relative luminance 0.027; OKLCH L 29.4% C 0.049 H 184.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#05342F
RGBrgb(5, 52, 47)
HSLhsl(174, 82%, 11%)
HSVhsv(174, 90%, 20%)
CMYKcmyk(90.4%, 0%, 9.6%, 79.6%)
CIE-LABlab(18.77, -16.52, -1.21)
CIE-LCHlch(18.77, 16.56, 184.19°)
OKLaboklab(29.37% -0.0486 -0.0035)
OKLCHoklch(29.37% 0.049 184.2)
XYZxyz(1.8034, 2.6933, 3.1136)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05342F #34050A
analogous
#053417 #05342F #052134
triadic
#05342F #2F0534 #342F05
tetradic
#05342F #170534 #34050A #213405
square
#05342F #170534 #34050A #213405
split-complementary
#05342F #340521 #341705
monochromatic
#031C19 #031C19 #05342F #0A6C61 #10A494

Accessibility & contrast

On white

13.65
#05342F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#05342F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05342F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05342F#FFFFFF#000000##FFFFFF
##05342F1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31302F
Deuteranopia (green-blind)
#2A2C30
Tritanopia (blue-blind)
#003532
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #05342f;
/* rgb */ color: rgb(5, 52, 47);
/* oklch */ color: oklch(29.4% 0.049 184.2);
Tailwind
colors: {
  custom: {
    50: '#4f6c67',
    500: '#05342f',
    950: '#000000',
  },
}
SCSS
$custom: #05342f;
$custom-light: #4f6c67;
$custom-dark: #000000;
JSON
{
  "hex": "#05342f",
  "rgb": {
    "r": 5,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 173.617,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29372,
    "c": 0.04869,
    "h": 184.2
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#05342F
secondary
#751F29
accent
#2F44F9
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020706
muted
#787A7A

Preview Lab

Preview with #05342F

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

Preview Lab → · Contrast checker → · Palette generator →

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