#05312B#05312B

#05312B is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.3% C 0.047 H 181.5°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#05312B
RGBrgb(5, 49, 43)
HSLhsl(172, 81%, 11%)
HSVhsv(172, 90%, 19%)
CMYKcmyk(89.8%, 0%, 12.2%, 80.8%)
CIE-LABlab(17.47, -16.23, -0.35)
CIE-LCHlch(17.47, 16.24, 181.24°)
OKLaboklab(28.27% -0.0472 -0.0012)
OKLCHoklch(28.27% 0.047 181.5)
XYZxyz(1.5967, 2.4031, 2.6647)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05312B #31050B
analogous
#053115 #05312B #052131
triadic
#05312B #2B0531 #312B05
tetradic
#05312B #150531 #31050B #213105
square
#05312B #150531 #31050B #213105
split-complementary
#05312B #310521 #311505
monochromatic
#031C18 #031C18 #05312B #0B695C #10A08C

Accessibility & contrast

On white

14.18
#05312B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05312B
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05312B#FFFFFF#000000##FFFFFF
##05312B1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2D2B
Deuteranopia (green-blind)
#28292C
Tritanopia (blue-blind)
#00322F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #05312b;
/* rgb */ color: rgb(5, 49, 43);
/* oklch */ color: oklch(28.3% 0.047 181.5);
Tailwind
colors: {
  custom: {
    50: '#4e6964',
    500: '#05312b',
    950: '#000000',
  },
}
SCSS
$custom: #05312b;
$custom-light: #4e6964;
$custom-dark: #000000;
JSON
{
  "hex": "#05312b",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 171.818,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28268,
    "c": 0.0472,
    "h": 181.5
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#05312B
secondary
#721F2B
accent
#304BF8
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #05312B

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

Preview Lab → · Contrast checker → · Palette generator →

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