#021C2E#021C2E

#021C2E is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.7% C 0.048 H 242.0°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#021C2E
RGBrgb(2, 28, 46)
HSLhsl(205, 92%, 9%)
HSVhsv(205, 96%, 18%)
CMYKcmyk(95.7%, 39.1%, 0%, 82%)
CIE-LABlab(9.33, -2.10, -14.92)
CIE-LCHlch(9.33, 15.06, 262.00°)
OKLaboklab(21.71% -0.0225 -0.0424)
OKLCHoklch(21.71% 0.048 242)
XYZxyz(0.9332, 1.0406, 2.7359)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C2E #2E1402
analogous
#022E2A #021C2E #02062E
triadic
#021C2E #2E021C #1C2E02
tetradic
#021C2E #2A022E #2E1402 #062E02
square
#021C2E #2A022E #2E1402 #062E02
split-complementary
#021C2E #2E0206 #2E2A02
monochromatic
#01121D #01121D #021C2E #054069 #0763A3

Accessibility & contrast

On white

17.38
#021C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021C2E
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C2E#FFFFFF#000000##FFFFFF
##021C2E1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131C2F
Deuteranopia (green-blind)
#0D182E
Tritanopia (blue-blind)
#002022
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021c2e;
/* rgb */ color: rgb(2, 28, 46);
/* oklch */ color: oklch(21.7% 0.048 242.0);
Tailwind
colors: {
  custom: {
    50: '#4a5766',
    500: '#021c2e',
    950: '#000000',
  },
}
SCSS
$custom: #021c2e;
$custom-light: #4a5766;
$custom-dark: #000000;
JSON
{
  "hex": "#021c2e",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 204.545,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.21709,
    "c": 0.04799,
    "h": 242
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#021C2E
secondary
#733E19
accent
#8029FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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