#021D2C#021D2C

#021D2C is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 21.9% C 0.044 H 236.5°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#021D2C
RGBrgb(2, 29, 44)
HSLhsl(201, 91%, 9%)
HSVhsv(201, 95%, 17%)
CMYKcmyk(95.5%, 34.1%, 0%, 82.7%)
CIE-LABlab(9.59, -3.78, -13.04)
CIE-LCHlch(9.59, 13.57, 253.82°)
OKLaboklab(21.88% -0.0245 -0.0369)
OKLCHoklch(21.88% 0.044 236.5)
XYZxyz(0.9188, 1.0734, 2.5411)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021D2C #2C1102
analogous
#022C26 #021D2C #02082C
triadic
#021D2C #2C021D #1D2C02
tetradic
#021D2C #26022C #2C1102 #082C02
square
#021D2C #26022C #2C1102 #082C02
split-complementary
#021D2C #2C0208 #2C2602
monochromatic
#01131D #01131D #021D2C #054467 #076AA1

Accessibility & contrast

On white

17.29
#021D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021D2C
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021D2C#FFFFFF#000000##FFFFFF
##021D2C1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161D2D
Deuteranopia (green-blind)
#10192C
Tritanopia (blue-blind)
#002122
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021d2c;
/* rgb */ color: rgb(2, 29, 44);
/* oklch */ color: oklch(21.9% 0.044 236.5);
Tailwind
colors: {
  custom: {
    50: '#495865',
    500: '#021d2c',
    950: '#000000',
  },
}
SCSS
$custom: #021d2c;
$custom-light: #495865;
$custom-dark: #000000;
JSON
{
  "hex": "#021d2c",
  "rgb": {
    "r": 2,
    "g": 29,
    "b": 44
  },
  "hsl": {
    "h": 201.429,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.21878,
    "c": 0.04426,
    "h": 236.5
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#021D2C
secondary
#713819
accent
#7529FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #021D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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