#060822#060822

#060822 is a very dark, muted blue. Relative luminance 0.003; OKLCH L 15.2% C 0.054 H 273.9°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#060822
RGBrgb(6, 8, 34)
HSLhsl(236, 70%, 8%)
HSVhsv(236, 82%, 13%)
CMYKcmyk(82.4%, 76.5%, 0%, 86.7%)
CIE-LABlab(2.96, 5.70, -15.81)
CIE-LCHlch(2.96, 16.80, 289.81°)
OKLaboklab(15.24% 0.0037 -0.054)
OKLCHoklch(15.24% 0.054 273.9)
XYZxyz(0.4506, 0.3278, 1.5526)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060822 #222006
analogous
#061622 #060822 #120622
triadic
#060822 #220608 #082206
tetradic
#060822 #220616 #222006 #062212
square
#060822 #220616 #222006 #062212
split-complementary
#060822 #221206 #162206
monochromatic
#05061A #05061A #060822 #0F1456 #18208A

Accessibility & contrast

On white

19.71
#060822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#060822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060822
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060822#FFFFFF#000000##FFFFFF
##0608221.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C23
Deuteranopia (green-blind)
#000A21
Tritanopia (blue-blind)
#000E13
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #060822;
/* rgb */ color: rgb(6, 8, 34);
/* oklch */ color: oklch(15.2% 0.054 273.9);
Tailwind
colors: {
  custom: {
    50: '#494a5d',
    500: '#060822',
    950: '#000000',
  },
}
SCSS
$custom: #060822;
$custom-light: #494a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#060822",
  "rgb": {
    "r": 6,
    "g": 8,
    "b": 34
  },
  "hsl": {
    "h": 235.714,
    "s": 70,
    "l": 7.843
  },
  "oklch": {
    "l": 0.1524,
    "c": 0.05418,
    "h": 273.9
  },
  "luminance": 0.00328
}

Semantic roles & 50–950 ramp

primary
#060822
secondary
#625E22
accent
#E03BED
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #060822

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

Preview Lab → · Contrast checker → · Palette generator →

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