#062A23#062A23

#062A23 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.8% C 0.042 H 177.1°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#062A23
RGBrgb(6, 42, 35)
HSLhsl(168, 75%, 9%)
HSVhsv(168, 86%, 16%)
CMYKcmyk(85.7%, 0%, 16.7%, 83.5%)
CIE-LABlab(14.49, -14.79, 0.91)
CIE-LCHlch(14.49, 14.82, 176.49°)
OKLaboklab(25.75% -0.0423 0.0022)
OKLCHoklch(25.75% 0.042 177.1)
XYZxyz(1.2063, 1.8159, 1.8767)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062A23 #2A060D
analogous
#062A11 #062A23 #061F2A
triadic
#062A23 #23062A #2A2306
tetradic
#062A23 #11062A #2A060D #1F2A06
square
#062A23 #11062A #2A060D #1F2A06
split-complementary
#062A23 #2A061F #2A1106
monochromatic
#041B16 #041B16 #062A23 #0E6050 #15957C

Accessibility & contrast

On white

15.40
#062A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #062A23
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062A23#FFFFFF#000000##FFFFFF
##062A231.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282723
Deuteranopia (green-blind)
#232324
Tritanopia (blue-blind)
#002B28
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #062a23;
/* rgb */ color: rgb(6, 42, 35);
/* oklch */ color: oklch(25.8% 0.042 177.1);
Tailwind
colors: {
  custom: {
    50: '#4c645d',
    500: '#062a23',
    950: '#000000',
  },
}
SCSS
$custom: #062a23;
$custom-light: #4c645d;
$custom-dark: #000000;
JSON
{
  "hex": "#062a23",
  "rgb": {
    "r": 6,
    "g": 42,
    "b": 35
  },
  "hsl": {
    "h": 168.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25751,
    "c": 0.04238,
    "h": 177.1
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#062A23
secondary
#6B212F
accent
#365BF2
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010504
muted
#777979

Preview Lab

Preview with #062A23

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

Preview Lab → · Contrast checker → · Palette generator →

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