#02060C#02060C

#02060C is a very dark, near-neutral blue. Relative luminance 0.002; OKLCH L 11.9% C 0.019 H 247.9°. Best body text is #FFFFFF at 20.31:1 contrast (WCAG AA passes).

Color values

HEX#02060C
RGBrgb(2, 6, 12)
HSLhsl(216, 71%, 3%)
HSVhsv(216, 83%, 5%)
CMYKcmyk(83.3%, 50%, 0%, 95.3%)
CIE-LABlab(1.53, -0.20, -2.68)
CIE-LCHlch(1.53, 2.69, 265.81°)
OKLaboklab(11.89% -0.0071 -0.0176)
OKLCHoklch(11.89% 0.019 247.9)
XYZxyz(0.1565, 0.1697, 0.3723)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02060C #0C0802
analogous
#020B0C #02060C #03020C
triadic
#02060C #0C0206 #060C02
tetradic
#02060C #0C020B #0C0802 #020C03
square
#02060C #0C020B #0C0802 #020C03
split-complementary
#02060C #0C0302 #0B0C02
monochromatic
#040D1A #040D1A #040D1A #0B2040 #133A75

Accessibility & contrast

On white

20.31
#02060C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#02060C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02060C
20.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02060C#FFFFFF#000000##FFFFFF
##02060C1.0020.311.0320.31
#FFFFFF20.311.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04060C
Deuteranopia (green-blind)
#03050C
Tritanopia (blue-blind)
#000708
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #02060c;
/* rgb */ color: rgb(2, 6, 12);
/* oklch */ color: oklch(11.9% 0.019 247.9);
Tailwind
colors: {
  custom: {
    50: '#47494c',
    500: '#02060c',
    950: '#000000',
  },
}
SCSS
$custom: #02060c;
$custom-light: #47494c;
$custom-dark: #000000;
JSON
{
  "hex": "#02060c",
  "rgb": {
    "r": 2,
    "g": 6,
    "b": 12
  },
  "hsl": {
    "h": 216,
    "s": 71.429,
    "l": 2.745
  },
  "oklch": {
    "l": 0.11893,
    "c": 0.01901,
    "h": 247.9
  },
  "luminance": 0.0017
}

Semantic roles & 50–950 ramp

primary
#02060C
secondary
#4F3A1A
accent
#A63AEE
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #02060C

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

Preview Lab → · Contrast checker → · Palette generator →

#02060C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva