#05211F#05211F

#05211F is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.6% C 0.034 H 188.5°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#05211F
RGBrgb(5, 33, 31)
HSLhsl(176, 74%, 7%)
HSVhsv(176, 85%, 13%)
CMYKcmyk(84.8%, 0%, 6.1%, 87.1%)
CIE-LABlab(10.70, -11.13, -1.77)
CIE-LCHlch(10.70, 11.27, 189.04°)
OKLaboklab(22.6% -0.0334 -0.005)
OKLCHoklch(22.6% 0.034 188.5)
XYZxyz(0.8537, 1.2188, 1.4863)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05211F #210507
analogous
#052111 #05211F #051521
triadic
#05211F #1F0521 #211F05
tetradic
#05211F #110521 #210507 #152105
square
#05211F #110521 #210507 #152105
split-complementary
#05211F #210515 #211105
monochromatic
#041B19 #041B19 #05211F #0D5651 #158B83

Accessibility & contrast

On white

16.88
#05211F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05211F
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05211F#FFFFFF#000000##FFFFFF
##05211F1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #05211f;
/* rgb */ color: rgb(5, 33, 31);
/* oklch */ color: oklch(22.6% 0.034 188.5);
Tailwind
colors: {
  custom: {
    50: '#495c5a',
    500: '#05211f',
    950: '#000000',
  },
}
SCSS
$custom: #05211f;
$custom-light: #495c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05211f",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 175.714,
    "s": 73.684,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22602,
    "c": 0.03379,
    "h": 188.5
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#05211F
secondary
#621F24
accent
#3745F0
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #05211F

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

Preview Lab → · Contrast checker → · Palette generator →

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