#06312A#06312A

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

Color values

HEX#06312A
RGBrgb(6, 49, 42)
HSLhsl(170, 78%, 11%)
HSVhsv(170, 88%, 19%)
CMYKcmyk(87.8%, 0%, 14.3%, 80.8%)
CIE-LABlab(17.47, -16.37, 0.34)
CIE-LCHlch(17.47, 16.37, 178.81°)
OKLaboklab(28.26% -0.0472 0.0006)
OKLCHoklch(28.26% 0.047 179.2)
XYZxyz(1.5911, 2.4023, 2.5699)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06312A #31060D
analogous
#063114 #06312A #062231
triadic
#06312A #2A0631 #312A06
tetradic
#06312A #140631 #31060D #223106
square
#06312A #140631 #31060D #223106
split-complementary
#06312A #310622 #311406
monochromatic
#031B17 #031B17 #06312A #0D6859 #139E87

Accessibility & contrast

On white

14.18
#06312A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06312A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06312A#FFFFFF#000000##FFFFFF
##06312A1.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)
#2E2D2A
Deuteranopia (green-blind)
#29292B
Tritanopia (blue-blind)
#00322F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #06312a;
/* rgb */ color: rgb(6, 49, 42);
/* oklch */ color: oklch(28.3% 0.047 179.2);
Tailwind
colors: {
  custom: {
    50: '#4e6963',
    500: '#06312a',
    950: '#000000',
  },
}
SCSS
$custom: #06312a;
$custom-light: #4e6963;
$custom-dark: #000000;
JSON
{
  "hex": "#06312a",
  "rgb": {
    "r": 6,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 170.233,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28262,
    "c": 0.04716,
    "h": 179.2
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#06312A
secondary
#72212E
accent
#3353F5
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #06312A

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

Preview Lab → · Contrast checker → · Palette generator →

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