#062A1F#062A1F

#062A1F is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.6% C 0.046 H 168.5°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#062A1F
RGBrgb(6, 42, 31)
HSLhsl(162, 75%, 9%)
HSVhsv(162, 86%, 16%)
CMYKcmyk(85.7%, 0%, 26.2%, 83.5%)
CIE-LABlab(14.36, -16.08, 3.55)
CIE-LCHlch(14.36, 16.47, 167.54°)
OKLaboklab(25.61% -0.0447 0.0091)
OKLCHoklch(25.61% 0.046 168.5)
XYZxyz(1.1503, 1.7934, 1.5816)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A1F #2A0611
analogous
#062A0D #062A1F #06232A
triadic
#062A1F #1F062A #2A1F06
tetradic
#062A1F #0D062A #2A0611 #232A06
square
#062A1F #0D062A #2A0611 #232A06
split-complementary
#062A1F #2A0623 #2A0D06
monochromatic
#041B14 #041B14 #062A1F #0E6047 #15956E

Accessibility & contrast

On white

15.45
#062A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#062A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A1F
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A1F#FFFFFF#000000##FFFFFF
##062A1F1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261E
Deuteranopia (green-blind)
#242320
Tritanopia (blue-blind)
#002A27
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #062a1f;
/* rgb */ color: rgb(6, 42, 31);
/* oklch */ color: oklch(25.6% 0.046 168.5);
Tailwind
colors: {
  custom: {
    50: '#4b645a',
    500: '#062a1f',
    950: '#000000',
  },
}
SCSS
$custom: #062a1f;
$custom-light: #4b645a;
$custom-dark: #000000;
JSON
{
  "hex": "#062a1f",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 161.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25606,
    "c": 0.04566,
    "h": 168.5
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#062A1F
secondary
#6B2138
accent
#366FF2
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #062A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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