#05312E#05312E

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

Color values

HEX#05312E
RGBrgb(5, 49, 46)
HSLhsl(176, 81%, 11%)
HSVhsv(176, 90%, 19%)
CMYKcmyk(89.8%, 0%, 6.1%, 80.8%)
CIE-LABlab(17.58, -15.18, -2.28)
CIE-LCHlch(17.58, 15.35, 188.53°)
OKLaboklab(28.39% -0.0454 -0.0064)
OKLCHoklch(28.39% 0.046 188)
XYZxyz(1.6538, 2.4259, 2.9653)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05312E #310508
analogous
#053118 #05312E #051E31
triadic
#05312E #2E0531 #312E05
tetradic
#05312E #180531 #310508 #1E3105
square
#05312E #180531 #310508 #1E3105
split-complementary
#05312E #31051E #311805
monochromatic
#031C1A #031C1A #05312E #0B6962 #10A096

Accessibility & contrast

On white

14.14
#05312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#05312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05312E
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05312E#FFFFFF#000000##FFFFFF
##05312E1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2E
Deuteranopia (green-blind)
#28292E
Tritanopia (blue-blind)
#003330
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #05312e;
/* rgb */ color: rgb(5, 49, 46);
/* oklch */ color: oklch(28.4% 0.046 188.0);
Tailwind
colors: {
  custom: {
    50: '#4e6966',
    500: '#05312e',
    950: '#000000',
  },
}
SCSS
$custom: #05312e;
$custom-light: #4e6966;
$custom-dark: #000000;
JSON
{
  "hex": "#05312e",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 175.909,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28389,
    "c": 0.04589,
    "h": 188
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#05312E
secondary
#721F25
accent
#303EF8
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #05312E

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

Preview Lab → · Contrast checker → · Palette generator →

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