#021A23#021A23

#021A23 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.3% C 0.036 H 225.3°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#021A23
RGBrgb(2, 26, 35)
HSLhsl(196, 89%, 7%)
HSVhsv(196, 94%, 14%)
CMYKcmyk(94.3%, 25.7%, 0%, 86.3%)
CIE-LABlab(7.89, -5.41, -9.01)
CIE-LCHlch(7.89, 10.51, 239.03°)
OKLaboklab(20.35% -0.025 -0.0253)
OKLCHoklch(20.35% 0.036 225.3)
XYZxyz(0.6977, 0.8730, 1.7215)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A23 #230B02
analogous
#02231C #021A23 #020923
triadic
#021A23 #23021A #1A2302
tetradic
#021A23 #1C0223 #230B02 #092302
square
#021A23 #1C0223 #230B02 #092302
split-complementary
#021A23 #230209 #231C02
monochromatic
#02161D #02161D #021A23 #05455D #097097

Accessibility & contrast

On white

17.88
#021A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A23
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A23#FFFFFF#000000##FFFFFF
##021A231.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151923
Deuteranopia (green-blind)
#101623
Tritanopia (blue-blind)
#001D1D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021a23;
/* rgb */ color: rgb(2, 26, 35);
/* oklch */ color: oklch(20.3% 0.036 225.3);
Tailwind
colors: {
  custom: {
    50: '#47565d',
    500: '#021a23',
    950: '#000000',
  },
}
SCSS
$custom: #021a23;
$custom-light: #47565d;
$custom-dark: #000000;
JSON
{
  "hex": "#021a23",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 196.364,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.20348,
    "c": 0.0356,
    "h": 225.3
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#021A23
secondary
#692E18
accent
#6329FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000304
muted
#777879

Preview Lab

Preview with #021A23

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

Preview Lab → · Contrast checker → · Palette generator →

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