#064027#064027

#064027 is a dark, moderate teal. Relative luminance 0.039; OKLCH L 32.9% C 0.072 H 158.7°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#064027
RGBrgb(6, 64, 39)
HSLhsl(154, 83%, 14%)
HSVhsv(154, 91%, 25%)
CMYKcmyk(90.6%, 0%, 39.1%, 74.9%)
CIE-LABlab(23.18, -24.77, 10.38)
CIE-LCHlch(23.18, 26.86, 157.27°)
OKLaboklab(32.92% -0.0671 0.0262)
OKLCHoklch(32.92% 0.072 158.7)
XYZxyz(2.2745, 3.8517, 2.5426)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#064027 #40061F
analogous
#06400A #064027 #063C40
triadic
#064027 #270640 #402706
tetradic
#064027 #0A0640 #40061F #3C4006
square
#064027 #0A0640 #40061F #3C4006
split-complementary
#064027 #40063C #400A06
monochromatic
#031C11 #031C11 #064027 #0B7849 #10B06B

Accessibility & contrast

On white

11.86
#064027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#064027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #064027
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##064027#FFFFFF#000000##FFFFFF
##0640271.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A25
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #064027;
/* rgb */ color: rgb(6, 64, 39);
/* oklch */ color: oklch(32.9% 0.072 158.7);
Tailwind
colors: {
  custom: {
    50: '#527561',
    500: '#064027',
    950: '#000000',
  },
}
SCSS
$custom: #064027;
$custom-light: #527561;
$custom-dark: #000000;
JSON
{
  "hex": "#064027",
  "rgb": {
    "r": 6,
    "g": 64,
    "b": 39
  },
  "hsl": {
    "h": 154.138,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3292,
    "c": 0.07199,
    "h": 158.7
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#064027
secondary
#80224A
accent
#2F86F9
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #064027

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

Preview Lab → · Contrast checker → · Palette generator →

#064027 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva