#05312A#05312A

#05312A is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.2% C 0.048 H 179.4°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#05312A
RGBrgb(5, 49, 42)
HSLhsl(170, 81%, 11%)
HSVhsv(170, 90%, 19%)
CMYKcmyk(89.8%, 0%, 14.3%, 80.8%)
CIE-LABlab(17.44, -16.57, 0.29)
CIE-LCHlch(17.44, 16.58, 178.99°)
OKLaboklab(28.23% -0.0478 0.0005)
OKLCHoklch(28.23% 0.048 179.4)
XYZxyz(1.5786, 2.3959, 2.5693)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05312A #31050C
analogous
#053114 #05312A #052231
triadic
#05312A #2A0531 #312A05
tetradic
#05312A #140531 #31050C #223105
square
#05312A #140531 #31050C #223105
split-complementary
#05312A #310522 #311405
monochromatic
#031C18 #031C18 #05312A #0B695A #10A089

Accessibility & contrast

On white

14.20
#05312A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#05312A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05312A
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05312A#FFFFFF#000000##FFFFFF
##05312A1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2A
Deuteranopia (green-blind)
#29292B
Tritanopia (blue-blind)
#00322F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #05312a;
/* rgb */ color: rgb(5, 49, 42);
/* oklch */ color: oklch(28.2% 0.048 179.4);
Tailwind
colors: {
  custom: {
    50: '#4e6963',
    500: '#05312a',
    950: '#000000',
  },
}
SCSS
$custom: #05312a;
$custom-light: #4e6963;
$custom-dark: #000000;
JSON
{
  "hex": "#05312a",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 170.455,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28229,
    "c": 0.04776,
    "h": 179.4
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#05312A
secondary
#721F2D
accent
#3050F8
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #05312A

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

Preview Lab → · Contrast checker → · Palette generator →

#05312A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva