#062A27#062A27

#062A27 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.9% C 0.040 H 187.0°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#062A27
RGBrgb(6, 42, 39)
HSLhsl(175, 75%, 9%)
HSVhsv(175, 86%, 16%)
CMYKcmyk(85.7%, 0%, 7.1%, 83.5%)
CIE-LABlab(14.63, -13.41, -1.73)
CIE-LCHlch(14.63, 13.52, 187.33°)
OKLaboklab(25.91% -0.0399 -0.0049)
OKLCHoklch(25.91% 0.04 187)
XYZxyz(1.2691, 1.8410, 2.2075)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A27 #2A0609
analogous
#062A15 #062A27 #061B2A
triadic
#062A27 #27062A #2A2706
tetradic
#062A27 #15062A #2A0609 #1B2A06
square
#062A27 #15062A #2A0609 #1B2A06
split-complementary
#062A27 #2A061B #2A1506
monochromatic
#041B19 #041B19 #062A27 #0E6059 #15958A

Accessibility & contrast

On white

15.35
#062A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#062A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A27
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A27#FFFFFF#000000##FFFFFF
##062A271.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272727
Deuteranopia (green-blind)
#222327
Tritanopia (blue-blind)
#002B29
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062a27;
/* rgb */ color: rgb(6, 42, 39);
/* oklch */ color: oklch(25.9% 0.040 187.0);
Tailwind
colors: {
  custom: {
    50: '#4c6361',
    500: '#062a27',
    950: '#000000',
  },
}
SCSS
$custom: #062a27;
$custom-light: #4c6361;
$custom-dark: #000000;
JSON
{
  "hex": "#062a27",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 175,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25911,
    "c": 0.04025,
    "h": 187
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#062A27
secondary
#6B2127
accent
#3646F2
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010505
muted
#777979

Preview Lab

Preview with #062A27

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

Preview Lab → · Contrast checker → · Palette generator →

#062A27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva