#021C2C#021C2C

#021C2C is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.6% C 0.045 H 238.9°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#021C2C
RGBrgb(2, 28, 44)
HSLhsl(203, 91%, 9%)
HSVhsv(203, 95%, 17%)
CMYKcmyk(95.5%, 36.4%, 0%, 82.7%)
CIE-LABlab(9.20, -3.04, -13.65)
CIE-LCHlch(9.20, 13.98, 257.43°)
OKLaboklab(21.57% -0.0233 -0.0387)
OKLCHoklch(21.57% 0.045 238.9)
XYZxyz(0.8947, 1.0251, 2.5331)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C2C #2C1202
analogous
#022C27 #021C2C #02072C
triadic
#021C2C #2C021C #1C2C02
tetradic
#021C2C #27022C #2C1202 #072C02
square
#021C2C #27022C #2C1202 #072C02
split-complementary
#021C2C #2C0207 #2C2702
monochromatic
#01131D #01131D #021C2C #054167 #0767A1

Accessibility & contrast

On white

17.43
#021C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C2C
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C2C#FFFFFF#000000##FFFFFF
##021C2C1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2D
Deuteranopia (green-blind)
#0E182C
Tritanopia (blue-blind)
#002022
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021c2c;
/* rgb */ color: rgb(2, 28, 44);
/* oklch */ color: oklch(21.6% 0.045 238.9);
Tailwind
colors: {
  custom: {
    50: '#495765',
    500: '#021c2c',
    950: '#000000',
  },
}
SCSS
$custom: #021c2c;
$custom-light: #495765;
$custom-dark: #000000;
JSON
{
  "hex": "#021c2c",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 44
  },
  "hsl": {
    "h": 202.857,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.21569,
    "c": 0.04517,
    "h": 238.9
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#021C2C
secondary
#713A19
accent
#7A29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #021C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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