#062C31#062C31

#062C31 is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.0% C 0.042 H 207.9°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#062C31
RGBrgb(6, 44, 49)
HSLhsl(187, 78%, 11%)
HSVhsv(187, 88%, 19%)
CMYKcmyk(87.8%, 10.2%, 0%, 80.8%)
CIE-LABlab(15.81, -10.86, -7.02)
CIE-LCHlch(15.81, 12.93, 212.90°)
OKLaboklab(27% -0.0369 -0.0195)
OKLCHoklch(27% 0.042 207.9)
XYZxyz(1.5299, 2.0616, 3.2224)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062C31 #310B06
analogous
#063120 #062C31 #061631
triadic
#062C31 #31062C #2C3106
tetradic
#062C31 #200631 #310B06 #163106
square
#062C31 #200631 #310B06 #163106
split-complementary
#062C31 #310616 #312006
monochromatic
#03181B #03181B #062C31 #0D5D68 #138E9E

Accessibility & contrast

On white

14.87
#062C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#062C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062C31
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062C31#FFFFFF#000000##FFFFFF
##062C311.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A31
Deuteranopia (green-blind)
#212531
Tritanopia (blue-blind)
#002E2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #062c31;
/* rgb */ color: rgb(6, 44, 49);
/* oklch */ color: oklch(27.0% 0.042 207.9);
Tailwind
colors: {
  custom: {
    50: '#4e6569',
    500: '#062c31',
    950: '#000000',
  },
}
SCSS
$custom: #062c31;
$custom-light: #4e6569;
$custom-dark: #000000;
JSON
{
  "hex": "#062c31",
  "rgb": {
    "r": 6,
    "g": 44,
    "b": 49
  },
  "hsl": {
    "h": 186.977,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27,
    "c": 0.04179,
    "h": 207.9
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#062C31
secondary
#722B21
accent
#4A33F5
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #062C31

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

Preview Lab → · Contrast checker → · Palette generator →

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