#06271F#06271F

#06271F is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.6% C 0.041 H 173.5°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#06271F
RGBrgb(6, 39, 31)
HSLhsl(165, 73%, 9%)
HSVhsv(165, 85%, 15%)
CMYKcmyk(84.6%, 0%, 20.5%, 84.7%)
CIE-LABlab(13.16, -14.41, 1.83)
CIE-LCHlch(13.16, 14.53, 172.76°)
OKLaboklab(24.62% -0.0407 0.0046)
OKLCHoklch(24.62% 0.041 173.5)
XYZxyz(1.0478, 1.5886, 1.5475)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06271F #27060E
analogous
#06270F #06271F #061F27
triadic
#06271F #1F0627 #271F06
tetradic
#06271F #0F0627 #27060E #1F2706
square
#06271F #0F0627 #27060E #1F2706
split-complementary
#06271F #27061F #270F06
monochromatic
#041B15 #041B15 #06271F #0E5C49 #169173

Accessibility & contrast

On white

15.94
#06271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#06271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06271F
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06271F#FFFFFF#000000##FFFFFF
##06271F1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241F
Deuteranopia (green-blind)
#212020
Tritanopia (blue-blind)
#002825
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #06271f;
/* rgb */ color: rgb(6, 39, 31);
/* oklch */ color: oklch(24.6% 0.041 173.5);
Tailwind
colors: {
  custom: {
    50: '#4b615a',
    500: '#06271f',
    950: '#000000',
  },
}
SCSS
$custom: #06271f;
$custom-light: #4b615a;
$custom-dark: #000000;
JSON
{
  "hex": "#06271f",
  "rgb": {
    "r": 6,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 165.455,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24622,
    "c": 0.04101,
    "h": 173.5
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#06271F
secondary
#682132
accent
#3864F0
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #06271F

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

Preview Lab → · Contrast checker → · Palette generator →

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