#06312C#06312C

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

Color values

HEX#06312C
RGBrgb(6, 49, 44)
HSLhsl(173, 78%, 11%)
HSVhsv(173, 88%, 19%)
CMYKcmyk(87.8%, 0%, 10.2%, 80.8%)
CIE-LABlab(17.54, -15.68, -0.95)
CIE-LCHlch(17.54, 15.71, 183.45°)
OKLaboklab(28.34% -0.046 -0.0028)
OKLCHoklch(28.34% 0.046 183.5)
XYZxyz(1.6278, 2.4170, 2.7631)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06312C #31060B
analogous
#063116 #06312C #062031
triadic
#06312C #2C0631 #312C06
tetradic
#06312C #160631 #31060B #203106
square
#06312C #160631 #31060B #203106
split-complementary
#06312C #310620 #311606
monochromatic
#031B18 #031B18 #06312C #0D685D #139E8E

Accessibility & contrast

On white

14.16
#06312C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #06312C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06312C#FFFFFF#000000##FFFFFF
##06312C1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2C
Deuteranopia (green-blind)
#28292C
Tritanopia (blue-blind)
#00322F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #06312c;
/* rgb */ color: rgb(6, 49, 44);
/* oklch */ color: oklch(28.3% 0.046 183.5);
Tailwind
colors: {
  custom: {
    50: '#4e6965',
    500: '#06312c',
    950: '#000000',
  },
}
SCSS
$custom: #06312c;
$custom-light: #4e6965;
$custom-dark: #000000;
JSON
{
  "hex": "#06312c",
  "rgb": {
    "r": 6,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 173.023,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28341,
    "c": 0.04608,
    "h": 183.5
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#06312C
secondary
#72212B
accent
#334AF5
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #06312C

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

Preview Lab → · Contrast checker → · Palette generator →

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