#05312D#05312D

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

Color values

HEX#05312D
RGBrgb(5, 49, 45)
HSLhsl(175, 81%, 11%)
HSVhsv(175, 90%, 19%)
CMYKcmyk(89.8%, 0%, 8.2%, 80.8%)
CIE-LABlab(17.54, -15.54, -1.64)
CIE-LCHlch(17.54, 15.62, 186.01°)
OKLaboklab(28.35% -0.046 -0.0047)
OKLCHoklch(28.35% 0.046 185.8)
XYZxyz(1.6343, 2.4182, 2.8627)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05312D #310509
analogous
#053117 #05312D #051F31
triadic
#05312D #2D0531 #312D05
tetradic
#05312D #170531 #310509 #1F3105
square
#05312D #170531 #310509 #1F3105
split-complementary
#05312D #31051F #311705
monochromatic
#031C19 #031C19 #05312D #0B6960 #10A093

Accessibility & contrast

On white

14.15
#05312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05312D
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05312D#FFFFFF#000000##FFFFFF
##05312D1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2D
Deuteranopia (green-blind)
#28292D
Tritanopia (blue-blind)
#003230
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #05312d;
/* rgb */ color: rgb(5, 49, 45);
/* oklch */ color: oklch(28.3% 0.046 185.8);
Tailwind
colors: {
  custom: {
    50: '#4e6965',
    500: '#05312d',
    950: '#000000',
  },
}
SCSS
$custom: #05312d;
$custom-light: #4e6965;
$custom-dark: #000000;
JSON
{
  "hex": "#05312d",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 174.545,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28348,
    "c": 0.04626,
    "h": 185.8
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#05312D
secondary
#721F27
accent
#3042F8
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #05312D

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

Preview Lab → · Contrast checker → · Palette generator →

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