#05321F#05321F

#05321F is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.2% C 0.059 H 160.1°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#05321F
RGBrgb(5, 50, 31)
HSLhsl(155, 82%, 11%)
HSVhsv(155, 90%, 20%)
CMYKcmyk(90%, 0%, 38%, 80.4%)
CIE-LABlab(17.52, -20.45, 7.95)
CIE-LCHlch(17.52, 21.94, 158.77°)
OKLaboklab(28.19% -0.0556 0.0201)
OKLCHoklch(28.19% 0.059 160.1)
XYZxyz(1.4504, 2.4122, 1.6852)
Luminance0.0241 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05321F #320518
analogous
#053209 #05321F #052E32
triadic
#05321F #1F0532 #321F05
tetradic
#05321F #090532 #320518 #2E3205
square
#05321F #090532 #320518 #2E3205
split-complementary
#05321F #32052E #320905
monochromatic
#031C11 #031C11 #05321F #0B6A41 #10A164

Accessibility & contrast

On white

14.17
#05321F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#05321F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05321F
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05321F#FFFFFF#000000##FFFFFF
##05321F1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#2C2920
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #05321f;
/* rgb */ color: rgb(5, 50, 31);
/* oklch */ color: oklch(28.2% 0.059 160.1);
Tailwind
colors: {
  custom: {
    50: '#4d6a5a',
    500: '#05321f',
    950: '#000000',
  },
}
SCSS
$custom: #05321f;
$custom-light: #4d6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#05321f",
  "rgb": {
    "r": 5,
    "g": 50,
    "b": 31
  },
  "hsl": {
    "h": 154.667,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28187,
    "c": 0.05911,
    "h": 160.1
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#05321F
secondary
#731F43
accent
#3084F8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #05321F

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

Preview Lab → · Contrast checker → · Palette generator →

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