#05211D#05211D

#05211D is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.5% C 0.035 H 182.2°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#05211D
RGBrgb(5, 33, 29)
HSLhsl(171, 74%, 7%)
HSVhsv(171, 85%, 13%)
CMYKcmyk(84.8%, 0%, 12.1%, 87.1%)
CIE-LABlab(10.62, -11.86, -0.41)
CIE-LCHlch(10.62, 11.86, 181.99°)
OKLaboklab(22.52% -0.0346 -0.0013)
OKLCHoklch(22.52% 0.035 182.2)
XYZxyz(0.8281, 1.2086, 1.3518)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05211D #210509
analogous
#05210F #05211D #051721
triadic
#05211D #1D0521 #211D05
tetradic
#05211D #0F0521 #210509 #172105
square
#05211D #0F0521 #210509 #172105
split-complementary
#05211D #210517 #210F05
monochromatic
#041B17 #041B17 #05211D #0D564C #158B7A

Accessibility & contrast

On white

16.91
#05211D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#05211D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05211D
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05211D#FFFFFF#000000##FFFFFF
##05211D1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1D
Deuteranopia (green-blind)
#1B1B1D
Tritanopia (blue-blind)
#002220
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #05211d;
/* rgb */ color: rgb(5, 33, 29);
/* oklch */ color: oklch(22.5% 0.035 182.2);
Tailwind
colors: {
  custom: {
    50: '#495c58',
    500: '#05211d',
    950: '#000000',
  },
}
SCSS
$custom: #05211d;
$custom-light: #495c58;
$custom-dark: #000000;
JSON
{
  "hex": "#05211d",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 29
  },
  "hsl": {
    "h": 171.429,
    "s": 73.684,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22516,
    "c": 0.03465,
    "h": 182.2
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#05211D
secondary
#621F29
accent
#3752F0
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05211D

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

Preview Lab → · Contrast checker → · Palette generator →

#05211D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva