#05221D#05221D

#05221D is a very dark, muted teal. Relative luminance 0.013; OKLCH L 22.8% C 0.036 H 179.6°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#05221D
RGBrgb(5, 34, 29)
HSLhsl(170, 74%, 8%)
HSVhsv(170, 85%, 13%)
CMYKcmyk(85.3%, 0%, 14.7%, 86.7%)
CIE-LABlab(11.03, -12.46, 0.18)
CIE-LCHlch(11.03, 12.46, 179.16°)
OKLaboklab(22.85% -0.036 0.0003)
OKLCHoklch(22.85% 0.036 179.6)
XYZxyz(0.8563, 1.2649, 1.3612)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05221D #22050A
analogous
#05220E #05221D #051822
triadic
#05221D #1D0522 #221D05
tetradic
#05221D #0E0522 #22050A #182205
square
#05221D #0E0522 #22050A #182205
split-complementary
#05221D #220518 #220E05
monochromatic
#041B17 #041B17 #05221D #0D574B #158D78

Accessibility & contrast

On white

16.76
#05221D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#05221D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05221D
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05221D#FFFFFF#000000##FFFFFF
##05221D1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201F1D
Deuteranopia (green-blind)
#1C1C1D
Tritanopia (blue-blind)
#002320
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #05221d;
/* rgb */ color: rgb(5, 34, 29);
/* oklch */ color: oklch(22.8% 0.036 179.6);
Tailwind
colors: {
  custom: {
    50: '#495d58',
    500: '#05221d',
    950: '#000000',
  },
}
SCSS
$custom: #05221d;
$custom-light: #495d58;
$custom-dark: #000000;
JSON
{
  "hex": "#05221d",
  "rgb": {
    "r": 5,
    "g": 34,
    "b": 29
  },
  "hsl": {
    "h": 169.655,
    "s": 74.359,
    "l": 7.647
  },
  "oklch": {
    "l": 0.22848,
    "c": 0.03601,
    "h": 179.6
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#05221D
secondary
#631F2B
accent
#3757F1
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05221D

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

Preview Lab → · Contrast checker → · Palette generator →

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