#062227#062227

#062227 is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.4% C 0.034 H 211.4°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#062227
RGBrgb(6, 34, 39)
HSLhsl(189, 73%, 9%)
HSVhsv(189, 85%, 15%)
CMYKcmyk(84.6%, 12.8%, 0%, 84.7%)
CIE-LABlab(11.48, -8.40, -6.45)
CIE-LCHlch(11.48, 10.59, 217.53°)
OKLaboklab(23.36% -0.0293 -0.0179)
OKLCHoklch(23.36% 0.034 211.4)
XYZxyz(1.0132, 1.3291, 2.1222)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#062227 #270B06
analogous
#06271C #062227 #061227
triadic
#062227 #270622 #222706
tetradic
#062227 #1C0627 #270B06 #122706
square
#062227 #1C0627 #270B06 #122706
split-complementary
#062227 #270612 #271C06
monochromatic
#04171B #04171B #062227 #0E505C #167E91

Accessibility & contrast

On white

16.59
#062227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#062227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #062227
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##062227#FFFFFF#000000##FFFFFF
##0622271.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2027
Deuteranopia (green-blind)
#191D27
Tritanopia (blue-blind)
#002424
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #062227;
/* rgb */ color: rgb(6, 34, 39);
/* oklch */ color: oklch(23.4% 0.034 211.4);
Tailwind
colors: {
  custom: {
    50: '#4b5d61',
    500: '#062227',
    950: '#000000',
  },
}
SCSS
$custom: #062227;
$custom-light: #4b5d61;
$custom-dark: #000000;
JSON
{
  "hex": "#062227",
  "rgb": {
    "r": 6,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 189.091,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.23359,
    "c": 0.03439,
    "h": 211.4
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#062227
secondary
#682C21
accent
#5438F0
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010405
muted
#777979

Preview Lab

Preview with #062227

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

Preview Lab → · Contrast checker → · Palette generator →

#062227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva