#021A24#021A24

#021A24 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.4% C 0.037 H 228.0°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#021A24
RGBrgb(2, 26, 36)
HSLhsl(198, 89%, 7%)
HSVhsv(198, 94%, 14%)
CMYKcmyk(94.4%, 27.8%, 0%, 85.9%)
CIE-LABlab(7.94, -5.03, -9.68)
CIE-LCHlch(7.94, 10.91, 242.55°)
OKLaboklab(20.41% -0.0245 -0.0272)
OKLCHoklch(20.41% 0.037 228)
XYZxyz(0.7127, 0.8790, 1.8008)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A24 #240C02
analogous
#02241D #021A24 #020924
triadic
#021A24 #24021A #1A2402
tetradic
#021A24 #1D0224 #240C02 #092402
square
#021A24 #1D0224 #240C02 #092402
split-complementary
#021A24 #240209 #241D02
monochromatic
#02151D #02151D #021A24 #05445E #086E98

Accessibility & contrast

On white

17.86
#021A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A24
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A24#FFFFFF#000000##FFFFFF
##021A241.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021a24;
/* rgb */ color: rgb(2, 26, 36);
/* oklch */ color: oklch(20.4% 0.037 228.0);
Tailwind
colors: {
  custom: {
    50: '#47565e',
    500: '#021a24',
    950: '#000000',
  },
}
SCSS
$custom: #021a24;
$custom-light: #47565e;
$custom-dark: #000000;
JSON
{
  "hex": "#021a24",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 36
  },
  "hsl": {
    "h": 197.647,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.2041,
    "c": 0.03665,
    "h": 228
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#021A24
secondary
#6A3018
accent
#6829FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000304
muted
#777879

Preview Lab

Preview with #021A24

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

Preview Lab → · Contrast checker → · Palette generator →

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