#021C2A#021C2A

#021C2A is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.4% C 0.043 H 235.3°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#021C2A
RGBrgb(2, 28, 42)
HSLhsl(201, 91%, 9%)
HSVhsv(201, 95%, 16%)
CMYKcmyk(95.2%, 33.3%, 0%, 83.5%)
CIE-LABlab(9.08, -3.99, -12.37)
CIE-LCHlch(9.08, 12.99, 252.12°)
OKLaboklab(21.43% -0.0242 -0.035)
OKLCHoklch(21.43% 0.043 235.3)
XYZxyz(0.8580, 1.0105, 2.3399)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C2A #2A1002
analogous
#022A24 #021C2A #02082A
triadic
#021C2A #2A021C #1C2A02
tetradic
#021C2A #24022A #2A1002 #082A02
square
#021C2A #24022A #2A1002 #082A02
split-complementary
#021C2A #2A0208 #2A2402
monochromatic
#01131D #01131D #021C2A #054364 #086A9F

Accessibility & contrast

On white

17.47
#021C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C2A
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C2A#FFFFFF#000000##FFFFFF
##021C2A1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2B
Deuteranopia (green-blind)
#0F182A
Tritanopia (blue-blind)
#002021
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021c2a;
/* rgb */ color: rgb(2, 28, 42);
/* oklch */ color: oklch(21.4% 0.043 235.3);
Tailwind
colors: {
  custom: {
    50: '#495763',
    500: '#021c2a',
    950: '#000000',
  },
}
SCSS
$custom: #021c2a;
$custom-light: #495763;
$custom-dark: #000000;
JSON
{
  "hex": "#021c2a",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 201,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.21433,
    "c": 0.0425,
    "h": 235.3
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#021C2A
secondary
#6F3719
accent
#7429FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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