#021A1F#021A1F

#021A1F is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.1% C 0.032 H 213.0°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#021A1F
RGBrgb(2, 26, 31)
HSLhsl(190, 88%, 6%)
HSVhsv(190, 94%, 12%)
CMYKcmyk(93.5%, 16.1%, 0%, 87.8%)
CIE-LABlab(7.68, -6.83, -6.32)
CIE-LCHlch(7.68, 9.30, 222.75°)
OKLaboklab(20.11% -0.0271 -0.0176)
OKLCHoklch(20.11% 0.032 213)
XYZxyz(0.6416, 0.8505, 1.4264)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A1F #1F0702
analogous
#021F16 #021A1F #020C1F
triadic
#021A1F #1F021A #1A1F02
tetradic
#021A1F #16021F #1F0702 #0C1F02
square
#021A1F #16021F #1F0702 #0C1F02
split-complementary
#021A1F #1F020C #1F1602
monochromatic
#02181D #02181D #021A1F #064A58 #097A92

Accessibility & contrast

On white

17.95
#021A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A1F
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A1F#FFFFFF#000000##FFFFFF
##021A1F1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16191F
Deuteranopia (green-blind)
#12161F
Tritanopia (blue-blind)
#001C1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021a1f;
/* rgb */ color: rgb(2, 26, 31);
/* oklch */ color: oklch(20.1% 0.032 213.0);
Tailwind
colors: {
  custom: {
    50: '#47565a',
    500: '#021a1f',
    950: '#000000',
  },
}
SCSS
$custom: #021a1f;
$custom-light: #47565a;
$custom-dark: #000000;
JSON
{
  "hex": "#021a1f",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 190.345,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.20114,
    "c": 0.03236,
    "h": 213
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#021A1F
secondary
#652518
accent
#4E2AFE
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #021A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#021A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva