#062A31#062A31

#062A31 is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.4% C 0.041 H 213.5°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#062A31
RGBrgb(6, 42, 49)
HSLhsl(190, 78%, 11%)
HSVhsv(190, 88%, 19%)
CMYKcmyk(87.8%, 14.3%, 0%, 80.8%)
CIE-LABlab(15.04, -9.59, -8.19)
CIE-LCHlch(15.04, 12.61, 220.51°)
OKLaboklab(26.38% -0.0344 -0.0228)
OKLCHoklch(26.38% 0.041 213.5)
XYZxyz(1.4572, 1.9162, 3.1982)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A31 #310D06
analogous
#063122 #062A31 #061431
triadic
#062A31 #31062A #2A3106
tetradic
#062A31 #220631 #310D06 #143106
square
#062A31 #220631 #310D06 #143106
split-complementary
#062A31 #310614 #312206
monochromatic
#03171B #03171B #062A31 #0D5968 #13879E

Accessibility & contrast

On white

15.18
#062A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062A31
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A31#FFFFFF#000000##FFFFFF
##062A311.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252831
Deuteranopia (green-blind)
#1F2431
Tritanopia (blue-blind)
#002D2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #062a31;
/* rgb */ color: rgb(6, 42, 49);
/* oklch */ color: oklch(26.4% 0.041 213.5);
Tailwind
colors: {
  custom: {
    50: '#4e6369',
    500: '#062a31',
    950: '#000000',
  },
}
SCSS
$custom: #062a31;
$custom-light: #4e6369;
$custom-dark: #000000;
JSON
{
  "hex": "#062a31",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 49
  },
  "hsl": {
    "h": 189.767,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26381,
    "c": 0.04131,
    "h": 213.5
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#062A31
secondary
#722E21
accent
#5333F5
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #062A31

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

Preview Lab → · Contrast checker → · Palette generator →

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