#052018#052018

#052018 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 22.0% C 0.037 H 170.4°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#052018
RGBrgb(5, 32, 24)
HSLhsl(162, 73%, 7%)
HSVhsv(162, 84%, 13%)
CMYKcmyk(84.4%, 0%, 25%, 87.5%)
CIE-LABlab(10.04, -12.80, 2.42)
CIE-LCHlch(10.04, 13.03, 169.30°)
OKLaboklab(21.99% -0.0363 0.0062)
OKLCHoklch(21.99% 0.037 170.4)
XYZxyz(0.7439, 1.1312, 1.0431)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052018 #20050D
analogous
#05200B #052018 #051B20
triadic
#052018 #180520 #201805
tetradic
#052018 #0B0520 #20050D #1B2005
square
#052018 #0B0520 #20050D #1B2005
split-complementary
#052018 #20051B #200B05
monochromatic
#041A14 #041A14 #052018 #0D5540 #168A67

Accessibility & contrast

On white

17.13
#052018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#052018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052018
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052018#FFFFFF#000000##FFFFFF
##0520181.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D18
Deuteranopia (green-blind)
#1B1A19
Tritanopia (blue-blind)
#00201E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #052018;
/* rgb */ color: rgb(5, 32, 24);
/* oklch */ color: oklch(22.0% 0.037 170.4);
Tailwind
colors: {
  custom: {
    50: '#485b54',
    500: '#052018',
    950: '#000000',
  },
}
SCSS
$custom: #052018;
$custom-light: #485b54;
$custom-dark: #000000;
JSON
{
  "hex": "#052018",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 162.222,
    "s": 72.973,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21986,
    "c": 0.03687,
    "h": 170.4
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#052018
secondary
#612033
accent
#386FF0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #052018

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

Preview Lab → · Contrast checker → · Palette generator →

#052018 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva