#05312F#05312F

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

Color values

HEX#05312F
RGBrgb(5, 49, 47)
HSLhsl(177, 81%, 11%)
HSVhsv(177, 90%, 19%)
CMYKcmyk(89.8%, 0%, 4.1%, 80.8%)
CIE-LABlab(17.62, -14.82, -2.92)
CIE-LCHlch(17.62, 15.10, 191.13°)
OKLaboklab(28.43% -0.0449 -0.0082)
OKLCHoklch(28.43% 0.046 190.3)
XYZxyz(1.6737, 2.4339, 3.0704)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05312F #310507
analogous
#053119 #05312F #051D31
triadic
#05312F #2F0531 #312F05
tetradic
#05312F #190531 #310507 #1D3105
square
#05312F #190531 #310507 #1D3105
split-complementary
#05312F #31051D #311905
monochromatic
#031C1B #031C1B #05312F #0B6964 #10A09A

Accessibility & contrast

On white

14.12
#05312F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #05312F
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05312F#FFFFFF#000000##FFFFFF
##05312F1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2E2F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#003330
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #05312f;
/* rgb */ color: rgb(5, 49, 47);
/* oklch */ color: oklch(28.4% 0.046 190.3);
Tailwind
colors: {
  custom: {
    50: '#4e6967',
    500: '#05312f',
    950: '#000000',
  },
}
SCSS
$custom: #05312f;
$custom-light: #4e6967;
$custom-dark: #000000;
JSON
{
  "hex": "#05312f",
  "rgb": {
    "r": 5,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 177.273,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28431,
    "c": 0.04562,
    "h": 190.3
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#05312F
secondary
#721F23
accent
#3039F8
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #05312F

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

Preview Lab → · Contrast checker → · Palette generator →

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