#020C08#020C08

#020C08 is a very dark, muted teal. Relative luminance 0.003; OKLCH L 14.0% C 0.021 H 170.6°. Best body text is #FFFFFF at 19.84:1 contrast (WCAG AA passes).

Color values

HEX#020C08
RGBrgb(2, 12, 8)
HSLhsl(156, 71%, 3%)
HSVhsv(156, 83%, 5%)
CMYKcmyk(83.3%, 0%, 33.3%, 95.3%)
CIE-LABlab(2.65, -3.22, 0.63)
CIE-LCHlch(2.65, 3.28, 168.99°)
OKLaboklab(14.05% -0.021 0.0035)
OKLCHoklch(14.05% 0.021 170.6)
XYZxyz(0.2003, 0.2934, 0.2757)
Luminance0.0029 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020C08 #0C0206
analogous
#020C03 #020C08 #020B0C
triadic
#020C08 #08020C #0C0802
tetradic
#020C08 #03020C #0C0206 #0B0C02
square
#020C08 #03020C #0C0206 #0B0C02
split-complementary
#020C08 #0C020B #0C0302
monochromatic
#041A11 #041A11 #041A11 #0B402B #13754E

Accessibility & contrast

On white

19.84
#020C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#020C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020C08
19.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020C08#FFFFFF#000000##FFFFFF
##020C081.0019.841.0619.84
#FFFFFF19.841.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0B08
Deuteranopia (green-blind)
#090908
Tritanopia (blue-blind)
#000C0B
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #020c08;
/* rgb */ color: rgb(2, 12, 8);
/* oklch */ color: oklch(14.0% 0.021 170.6);
Tailwind
colors: {
  custom: {
    50: '#474c4a',
    500: '#020c08',
    950: '#000000',
  },
}
SCSS
$custom: #020c08;
$custom-light: #474c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#020c08",
  "rgb": {
    "r": 2,
    "g": 12,
    "b": 8
  },
  "hsl": {
    "h": 156,
    "s": 71.429,
    "l": 2.745
  },
  "oklch": {
    "l": 0.14048,
    "c": 0.02133,
    "h": 170.6
  },
  "luminance": 0.00293
}

Semantic roles & 50–950 ramp

primary
#020C08
secondary
#4F1A30
accent
#3A82EE
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #020C08

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

Preview Lab → · Contrast checker → · Palette generator →

#020C08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva