#021418#021418

#021418 is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.7% C 0.027 H 212.7°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#021418
RGBrgb(2, 20, 24)
HSLhsl(191, 85%, 5%)
HSVhsv(191, 92%, 9%)
CMYKcmyk(91.7%, 16.7%, 0%, 90.6%)
CIE-LABlab(5.23, -4.52, -4.61)
CIE-LCHlch(5.23, 6.46, 225.52°)
OKLaboklab(17.7% -0.023 -0.0147)
OKLCHoklch(17.7% 0.027 212.7)
XYZxyz(0.4400, 0.5791, 0.9526)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021418 #180602
analogous
#021811 #021418 #020918
triadic
#021418 #180214 #141802
tetradic
#021418 #110218 #180602 #091802
square
#021418 #110218 #180602 #091802
split-complementary
#021418 #180209 #181102
monochromatic
#02181C #02181C #02181C #074350 #0B7289

Accessibility & contrast

On white

18.82
#021418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#021418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021418
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021418#FFFFFF#000000##FFFFFF
##0214181.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111318
Deuteranopia (green-blind)
#0D1018
Tritanopia (blue-blind)
#001615
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #021418;
/* rgb */ color: rgb(2, 20, 24);
/* oklch */ color: oklch(17.7% 0.027 212.7);
Tailwind
colors: {
  custom: {
    50: '#475154',
    500: '#021418',
    950: '#000000',
  },
}
SCSS
$custom: #021418;
$custom-light: #475154;
$custom-dark: #000000;
JSON
{
  "hex": "#021418",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 24
  },
  "hsl": {
    "h": 190.909,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.17704,
    "c": 0.0273,
    "h": 212.7
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#021418
secondary
#5E2518
accent
#522DFB
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000202
muted
#777878

Preview Lab

Preview with #021418

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

Preview Lab → · Contrast checker → · Palette generator →

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