#062F28#062F28

#062F28 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.6% C 0.046 H 178.7°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#062F28
RGBrgb(6, 47, 40)
HSLhsl(170, 77%, 10%)
HSVhsv(170, 87%, 18%)
CMYKcmyk(87.2%, 0%, 14.9%, 81.6%)
CIE-LABlab(16.63, -15.93, 0.50)
CIE-LCHlch(16.63, 15.94, 178.21°)
OKLaboklab(27.55% -0.0458 0.0011)
OKLCHoklch(27.55% 0.046 178.7)
XYZxyz(1.4744, 2.2248, 2.3588)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062F28 #2F060D
analogous
#062F13 #062F28 #06212F
triadic
#062F28 #28062F #2F2806
tetradic
#062F28 #13062F #2F060D #212F06
square
#062F28 #13062F #2F060D #212F06
split-complementary
#062F28 #2F0621 #2F1306
monochromatic
#031B17 #031B17 #062F28 #0D6556 #149C84

Accessibility & contrast

On white

14.53
#062F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#062F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062F28
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062F28#FFFFFF#000000##FFFFFF
##062F281.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B28
Deuteranopia (green-blind)
#272729
Tritanopia (blue-blind)
#00302D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #062f28;
/* rgb */ color: rgb(6, 47, 40);
/* oklch */ color: oklch(27.6% 0.046 178.7);
Tailwind
colors: {
  custom: {
    50: '#4d6861',
    500: '#062f28',
    950: '#000000',
  },
}
SCSS
$custom: #062f28;
$custom-light: #4d6861;
$custom-dark: #000000;
JSON
{
  "hex": "#062f28",
  "rgb": {
    "r": 6,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 169.756,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2755,
    "c": 0.04582,
    "h": 178.7
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#062F28
secondary
#70212F
accent
#3455F4
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020605
muted
#787A79

Preview Lab

Preview with #062F28

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

Preview Lab → · Contrast checker → · Palette generator →

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