#06312B#06312B

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

Color values

HEX#06312B
RGBrgb(6, 49, 43)
HSLhsl(172, 78%, 11%)
HSVhsv(172, 88%, 19%)
CMYKcmyk(87.8%, 0%, 12.2%, 80.8%)
CIE-LABlab(17.50, -16.03, -0.30)
CIE-LCHlch(17.50, 16.03, 181.09°)
OKLaboklab(28.3% -0.0466 -0.0011)
OKLCHoklch(28.3% 0.047 181.3)
XYZxyz(1.6092, 2.4096, 2.6653)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06312B #31060C
analogous
#063115 #06312B #062131
triadic
#06312B #2B0631 #312B06
tetradic
#06312B #150631 #31060C #213106
square
#06312B #150631 #31060C #213106
split-complementary
#06312B #310621 #311506
monochromatic
#031B18 #031B18 #06312B #0D685B #139E8B

Accessibility & contrast

On white

14.17
#06312B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06312B
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06312B#FFFFFF#000000##FFFFFF
##06312B1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.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: #06312b;
/* rgb */ color: rgb(6, 49, 43);
/* oklch */ color: oklch(28.3% 0.047 181.3);
Tailwind
colors: {
  custom: {
    50: '#4e6964',
    500: '#06312b',
    950: '#000000',
  },
}
SCSS
$custom: #06312b;
$custom-light: #4e6964;
$custom-dark: #000000;
JSON
{
  "hex": "#06312b",
  "rgb": {
    "r": 6,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 171.628,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28301,
    "c": 0.04659,
    "h": 181.3
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#06312B
secondary
#72212C
accent
#334EF5
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #06312B

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

Preview Lab → · Contrast checker → · Palette generator →

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