#021A2A#021A2A

#021A2A is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.8% C 0.044 H 240.5°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#021A2A
RGBrgb(2, 26, 42)
HSLhsl(204, 91%, 9%)
HSVhsv(204, 95%, 16%)
CMYKcmyk(95.2%, 38.1%, 0%, 83.5%)
CIE-LABlab(8.30, -2.49, -13.59)
CIE-LCHlch(8.30, 13.82, 259.63°)
OKLaboklab(20.81% -0.0218 -0.0386)
OKLCHoklch(20.81% 0.044 240.5)
XYZxyz(0.8122, 0.9188, 2.3246)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A2A #2A1202
analogous
#022A26 #021A2A #02062A
triadic
#021A2A #2A021A #1A2A02
tetradic
#021A2A #26022A #2A1202 #062A02
square
#021A2A #26022A #2A1202 #062A02
split-complementary
#021A2A #2A0206 #2A2602
monochromatic
#01121D #01121D #021A2A #053E64 #08629F

Accessibility & contrast

On white

17.74
#021A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A2A
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A2A#FFFFFF#000000##FFFFFF
##021A2A1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2B
Deuteranopia (green-blind)
#0C162A
Tritanopia (blue-blind)
#001E20
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021a2a;
/* rgb */ color: rgb(2, 26, 42);
/* oklch */ color: oklch(20.8% 0.044 240.5);
Tailwind
colors: {
  custom: {
    50: '#485663',
    500: '#021a2a',
    950: '#000000',
  },
}
SCSS
$custom: #021a2a;
$custom-light: #485663;
$custom-dark: #000000;
JSON
{
  "hex": "#021a2a",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 204,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.20811,
    "c": 0.04433,
    "h": 240.5
  },
  "luminance": 0.00919
}

Semantic roles & 50–950 ramp

primary
#021A2A
secondary
#6F3B19
accent
#7E29FF
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#010305
muted
#777879

Preview Lab

Preview with #021A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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