#020E18#020E18

#020E18 is a very dark, muted cyan. Relative luminance 0.004; OKLCH L 15.7% C 0.030 H 240.6°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#020E18
RGBrgb(2, 14, 24)
HSLhsl(207, 85%, 5%)
HSVhsv(207, 92%, 9%)
CMYKcmyk(91.7%, 41.7%, 0%, 90.6%)
CIE-LABlab(3.55, -1.09, -7.06)
CIE-LCHlch(3.55, 7.14, 261.25°)
OKLaboklab(15.68% -0.0146 -0.026)
OKLCHoklch(15.68% 0.03 240.6)
XYZxyz(0.3469, 0.3929, 0.9215)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020E18 #180C02
analogous
#021817 #020E18 #020318
triadic
#020E18 #18020E #0E1802
tetradic
#020E18 #170218 #180C02 #031802
square
#020E18 #170218 #180C02 #031802
split-complementary
#020E18 #180203 #181702
monochromatic
#02101C #02101C #02101C #072F50 #0B5089

Accessibility & contrast

On white

19.47
#020E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#020E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020E18
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020E18#FFFFFF#000000##FFFFFF
##020E181.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090E18
Deuteranopia (green-blind)
#060C18
Tritanopia (blue-blind)
#001011
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #020e18;
/* rgb */ color: rgb(2, 14, 24);
/* oklch */ color: oklch(15.7% 0.030 240.6);
Tailwind
colors: {
  custom: {
    50: '#474d54',
    500: '#020e18',
    950: '#000000',
  },
}
SCSS
$custom: #020e18;
$custom-light: #474d54;
$custom-dark: #000000;
JSON
{
  "hex": "#020e18",
  "rgb": {
    "r": 2,
    "g": 14,
    "b": 24
  },
  "hsl": {
    "h": 207.273,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.15683,
    "c": 0.02983,
    "h": 240.6
  },
  "luminance": 0.00393
}

Semantic roles & 50–950 ramp

primary
#020E18
secondary
#5E3818
accent
#8B2DFB
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #020E18

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

Preview Lab → · Contrast checker → · Palette generator →

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