#062A2F#062A2F

#062A2F is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.3% C 0.040 H 208.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#062A2F
RGBrgb(6, 42, 47)
HSLhsl(187, 77%, 10%)
HSVhsv(187, 87%, 18%)
CMYKcmyk(87.2%, 10.6%, 0%, 81.6%)
CIE-LABlab(14.95, -10.39, -6.91)
CIE-LCHlch(14.95, 12.48, 213.65°)
OKLaboklab(26.28% -0.0355 -0.0192)
OKLCHoklch(26.28% 0.04 208.4)
XYZxyz(1.4159, 1.8997, 2.9808)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A2F #2F0B06
analogous
#062F1F #062A2F #06152F
triadic
#062A2F #2F062A #2A2F06
tetradic
#062A2F #1F062F #2F0B06 #152F06
square
#062A2F #1F062F #2F0B06 #152F06
split-complementary
#062A2F #2F0615 #2F1F06
monochromatic
#03181B #03181B #062A2F #0D5A65 #148B9C

Accessibility & contrast

On white

15.22
#062A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#062A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062A2F
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A2F#FFFFFF#000000##FFFFFF
##062A2F1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#20242F
Tritanopia (blue-blind)
#002C2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #062a2f;
/* rgb */ color: rgb(6, 42, 47);
/* oklch */ color: oklch(26.3% 0.040 208.4);
Tailwind
colors: {
  custom: {
    50: '#4d6367',
    500: '#062a2f',
    950: '#000000',
  },
}
SCSS
$custom: #062a2f;
$custom-light: #4d6367;
$custom-dark: #000000;
JSON
{
  "hex": "#062a2f",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 187.317,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2628,
    "c": 0.04036,
    "h": 208.4
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#062A2F
secondary
#702B21
accent
#4B34F4
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #062A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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