#052117#052117

#052117 is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.3% C 0.040 H 166.2°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#052117
RGBrgb(5, 33, 23)
HSLhsl(159, 74%, 7%)
HSVhsv(159, 85%, 13%)
CMYKcmyk(84.8%, 0%, 30.3%, 87.1%)
CIE-LABlab(10.42, -13.75, 3.69)
CIE-LCHlch(10.42, 14.24, 164.96°)
OKLaboklab(22.29% -0.0384 0.0095)
OKLCHoklch(22.29% 0.04 166.2)
XYZxyz(0.7610, 1.1818, 0.9984)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052117 #21050F
analogous
#052109 #052117 #051D21
triadic
#052117 #170521 #211705
tetradic
#052117 #090521 #21050F #1D2105
square
#052117 #090521 #21050F #1D2105
split-complementary
#052117 #21051D #210905
monochromatic
#041B13 #041B13 #052117 #0D563C #158B61

Accessibility & contrast

On white

16.98
#052117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#052117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052117
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052117#FFFFFF#000000##FFFFFF
##0521171.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E16
Deuteranopia (green-blind)
#1C1B18
Tritanopia (blue-blind)
#00211E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #052117;
/* rgb */ color: rgb(5, 33, 23);
/* oklch */ color: oklch(22.3% 0.040 166.2);
Tailwind
colors: {
  custom: {
    50: '#485c53',
    500: '#052117',
    950: '#000000',
  },
}
SCSS
$custom: #052117;
$custom-light: #485c53;
$custom-dark: #000000;
JSON
{
  "hex": "#052117",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 158.571,
    "s": 73.684,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22288,
    "c": 0.03953,
    "h": 166.2
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#052117
secondary
#621F37
accent
#3779F0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#010402
muted
#777978

Preview Lab

Preview with #052117

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

Preview Lab → · Contrast checker → · Palette generator →

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