#021B22#021B22

#021B22 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.6% C 0.034 H 218.9°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#021B22
RGBrgb(2, 27, 34)
HSLhsl(193, 89%, 7%)
HSVhsv(193, 94%, 13%)
CMYKcmyk(94.1%, 20.6%, 0%, 86.7%)
CIE-LABlab(8.24, -6.60, -7.72)
CIE-LCHlch(8.24, 10.16, 229.47°)
OKLaboklab(20.61% -0.0268 -0.0216)
OKLCHoklch(20.61% 0.034 218.9)
XYZxyz(0.7056, 0.9122, 1.6519)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B22 #220902
analogous
#022219 #021B22 #020B22
triadic
#021B22 #22021B #1B2202
tetradic
#021B22 #190222 #220902 #0B2202
square
#021B22 #190222 #220902 #0B2202
split-complementary
#021B22 #22020B #221902
monochromatic
#02171D #02171D #021B22 #05495C #097796

Accessibility & contrast

On white

17.76
#021B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B22
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B22#FFFFFF#000000##FFFFFF
##021B221.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171A22
Deuteranopia (green-blind)
#121722
Tritanopia (blue-blind)
#001D1D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021b22;
/* rgb */ color: rgb(2, 27, 34);
/* oklch */ color: oklch(20.6% 0.034 218.9);
Tailwind
colors: {
  custom: {
    50: '#47575d',
    500: '#021b22',
    950: '#000000',
  },
}
SCSS
$custom: #021b22;
$custom-light: #47575d;
$custom-dark: #000000;
JSON
{
  "hex": "#021b22",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 193.125,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.20614,
    "c": 0.03443,
    "h": 218.9
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#021B22
secondary
#682A18
accent
#5829FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000304
muted
#777879

Preview Lab

Preview with #021B22

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

Preview Lab → · Contrast checker → · Palette generator →

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