#02060E#02060E

#02060E is a very dark, muted blue. Relative luminance 0.002; OKLCH L 12.0% C 0.023 H 254.1°. Best body text is #FFFFFF at 20.29:1 contrast (WCAG AA passes).

Color values

HEX#02060E
RGBrgb(2, 6, 14)
HSLhsl(220, 75%, 3%)
HSVhsv(220, 86%, 5%)
CMYKcmyk(85.7%, 57.1%, 0%, 94.5%)
CIE-LABlab(1.58, 0.13, -3.57)
CIE-LCHlch(1.58, 3.58, 272.14°)
OKLaboklab(12.05% -0.0062 -0.0219)
OKLCHoklch(12.05% 0.023 254.1)
XYZxyz(0.1694, 0.1748, 0.4402)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02060E #0E0A02
analogous
#020C0E #02060E #04020E
triadic
#02060E #0E0206 #060E02
tetradic
#02060E #0E020C #0E0A02 #020E04
square
#02060E #0E020C #0E0A02 #020E04
split-complementary
#02060E #0E0402 #0C0E02
monochromatic
#040B1B #040B1B #040B1B #0A1D44 #113479

Accessibility & contrast

On white

20.29
#02060E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02060E
20.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02060E#FFFFFF#000000##FFFFFF
##02060E1.0020.291.0320.29
#FFFFFF20.291.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02060e;
/* rgb */ color: rgb(2, 6, 14);
/* oklch */ color: oklch(12.0% 0.023 254.1);
Tailwind
colors: {
  custom: {
    50: '#47494d',
    500: '#02060e',
    950: '#000000',
  },
}
SCSS
$custom: #02060e;
$custom-light: #47494d;
$custom-dark: #000000;
JSON
{
  "hex": "#02060e",
  "rgb": {
    "r": 2,
    "g": 6,
    "b": 14
  },
  "hsl": {
    "h": 220,
    "s": 75,
    "l": 3.137
  },
  "oklch": {
    "l": 0.12048,
    "c": 0.02282,
    "h": 254.1
  },
  "luminance": 0.00175
}

Semantic roles & 50–950 ramp

primary
#02060E
secondary
#523F1A
accent
#B336F2
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #02060E

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

Preview Lab → · Contrast checker → · Palette generator →

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