#06271B#06271B

#06271B is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.5% C 0.045 H 165.1°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#06271B
RGBrgb(6, 39, 27)
HSLhsl(158, 73%, 9%)
HSVhsv(158, 85%, 15%)
CMYKcmyk(84.6%, 0%, 30.8%, 84.7%)
CIE-LABlab(13.04, -15.67, 4.51)
CIE-LCHlch(13.04, 16.30, 163.94°)
OKLaboklab(24.48% -0.0432 0.0115)
OKLCHoklch(24.48% 0.045 165.1)
XYZxyz(0.9983, 1.5688, 1.2869)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#06271B #270612
analogous
#06270B #06271B #062327
triadic
#06271B #1B0627 #271B06
tetradic
#06271B #0B0627 #270612 #232706
square
#06271B #0B0627 #270612 #232706
split-complementary
#06271B #270623 #270B06
monochromatic
#041B12 #041B12 #06271B #0E5C40 #169164

Accessibility & contrast

On white

15.98
#06271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#06271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #06271B
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##06271B#FFFFFF#000000##FFFFFF
##06271B1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241A
Deuteranopia (green-blind)
#22201C
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #06271b;
/* rgb */ color: rgb(6, 39, 27);
/* oklch */ color: oklch(24.5% 0.045 165.1);
Tailwind
colors: {
  custom: {
    50: '#4a6157',
    500: '#06271b',
    950: '#000000',
  },
}
SCSS
$custom: #06271b;
$custom-light: #4a6157;
$custom-dark: #000000;
JSON
{
  "hex": "#06271b",
  "rgb": {
    "r": 6,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 158.182,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24482,
    "c": 0.04473,
    "h": 165.1
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#06271B
secondary
#68213B
accent
#387BF0
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #06271B

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

Preview Lab → · Contrast checker → · Palette generator →

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