#020508#020508

#020508 is a very dark, near-neutral cyan. Relative luminance 0.001; OKLCH L 11.1% C 0.013 H 239.3°. Best body text is #FFFFFF at 20.43:1 contrast (WCAG AA passes).

Color values

HEX#020508
RGBrgb(2, 5, 8)
HSLhsl(210, 60%, 2%)
HSVhsv(210, 75%, 3%)
CMYKcmyk(75%, 37.5%, 0%, 96.9%)
CIE-LABlab(1.26, -0.37, -1.41)
CIE-LCHlch(1.26, 1.46, 255.33°)
OKLaboklab(11.1% -0.0067 -0.0113)
OKLCHoklch(11.1% 0.013 239.3)
XYZxyz(0.1231, 0.1390, 0.2500)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020508 #080502
analogous
#020808 #020508 #020208
triadic
#020508 #080205 #050802
tetradic
#020508 #080208 #080502 #020802
square
#020508 #080208 #080502 #020802
split-complementary
#020508 #080202 #080802
monochromatic
#060F18 #060F18 #060F18 #0E2439 #1A426A

Accessibility & contrast

On white

20.43
#020508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#020508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020508
20.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020508#FFFFFF#000000##FFFFFF
##0205081.0020.431.0320.43
#FFFFFF20.431.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040508
Deuteranopia (green-blind)
#030408
Tritanopia (blue-blind)
#010606
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #020508;
/* rgb */ color: rgb(2, 5, 8);
/* oklch */ color: oklch(11.1% 0.013 239.3);
Tailwind
colors: {
  custom: {
    50: '#47494a',
    500: '#020508',
    950: '#000000',
  },
}
SCSS
$custom: #020508;
$custom-light: #47494a;
$custom-dark: #000000;
JSON
{
  "hex": "#020508",
  "rgb": {
    "r": 2,
    "g": 5,
    "b": 8
  },
  "hsl": {
    "h": 210,
    "s": 60,
    "l": 1.961
  },
  "oklch": {
    "l": 0.11104,
    "c": 0.01313,
    "h": 239.3
  },
  "luminance": 0.00139
}

Semantic roles & 50–950 ramp

primary
#020508
secondary
#48331E
accent
#9445E3
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #020508

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

Preview Lab → · Contrast checker → · Palette generator →

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