#021018#021018

#021018 is a very dark, muted cyan. Relative luminance 0.004; OKLCH L 16.4% C 0.028 H 231.9°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#021018
RGBrgb(2, 16, 24)
HSLhsl(202, 85%, 5%)
HSVhsv(202, 92%, 9%)
CMYKcmyk(91.7%, 33.3%, 0%, 90.6%)
CIE-LABlab(4.06, -2.13, -6.32)
CIE-LCHlch(4.06, 6.67, 251.35°)
OKLaboklab(16.35% -0.0174 -0.0222)
OKLCHoklch(16.35% 0.028 231.9)
XYZxyz(0.3751, 0.4494, 0.9309)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021018 #180A02
analogous
#021815 #021018 #020518
triadic
#021018 #180210 #101802
tetradic
#021018 #150218 #180A02 #051802
square
#021018 #150218 #180A02 #051802
split-complementary
#021018 #180205 #181502
monochromatic
#02131C #02131C #02131C #073650 #0B5B89

Accessibility & contrast

On white

19.27
#021018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#021018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021018
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021018#FFFFFF#000000##FFFFFF
##0210181.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1018
Deuteranopia (green-blind)
#090D18
Tritanopia (blue-blind)
#001213
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #021018;
/* rgb */ color: rgb(2, 16, 24);
/* oklch */ color: oklch(16.4% 0.028 231.9);
Tailwind
colors: {
  custom: {
    50: '#474e54',
    500: '#021018',
    950: '#000000',
  },
}
SCSS
$custom: #021018;
$custom-light: #474e54;
$custom-dark: #000000;
JSON
{
  "hex": "#021018",
  "rgb": {
    "r": 2,
    "g": 16,
    "b": 24
  },
  "hsl": {
    "h": 201.818,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.1635,
    "c": 0.02819,
    "h": 231.9
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#021018
secondary
#5E3118
accent
#782DFB
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #021018

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

Preview Lab → · Contrast checker → · Palette generator →

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