#060A18#060A18

#060A18 is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.9% C 0.031 H 268.7°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#060A18
RGBrgb(6, 10, 24)
HSLhsl(227, 60%, 6%)
HSVhsv(227, 75%, 9%)
CMYKcmyk(75%, 58.3%, 0%, 90.6%)
CIE-LABlab(2.91, 1.75, -7.97)
CIE-LCHlch(2.91, 8.16, 282.38°)
OKLaboklab(14.88% -0.0007 -0.0312)
OKLCHoklch(14.88% 0.031 268.7)
XYZxyz(0.3485, 0.3217, 0.9077)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#060A18 #181406
analogous
#061318 #060A18 #0B0618
triadic
#060A18 #18060A #0A1806
tetradic
#060A18 #180613 #181406 #06180B
square
#060A18 #180613 #181406 #06180B
split-complementary
#060A18 #180B06 #131806
monochromatic
#060A18 #060A18 #060A18 #121E49 #1E337A

Accessibility & contrast

On white

19.73
#060A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#060A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #060A18
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##060A18#FFFFFF#000000##FFFFFF
##060A181.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050B19
Deuteranopia (green-blind)
#040A18
Tritanopia (blue-blind)
#010D0F
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #060a18;
/* rgb */ color: rgb(6, 10, 24);
/* oklch */ color: oklch(14.9% 0.031 268.7);
Tailwind
colors: {
  custom: {
    50: '#494b54',
    500: '#060a18',
    950: '#000000',
  },
}
SCSS
$custom: #060a18;
$custom-light: #494b54;
$custom-dark: #000000;
JSON
{
  "hex": "#060a18",
  "rgb": {
    "r": 6,
    "g": 10,
    "b": 24
  },
  "hsl": {
    "h": 226.667,
    "s": 60,
    "l": 5.882
  },
  "oklch": {
    "l": 0.14878,
    "c": 0.03124,
    "h": 268.7
  },
  "luminance": 0.00322
}

Semantic roles & 50–950 ramp

primary
#060A18
secondary
#564B23
accent
#C045E3
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #060A18

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

Preview Lab → · Contrast checker → · Palette generator →

#060A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva