#021D2D#021D2D

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

Color values

HEX#021D2D
RGBrgb(2, 29, 45)
HSLhsl(202, 91%, 9%)
HSVhsv(202, 96%, 18%)
CMYKcmyk(95.6%, 35.6%, 0%, 82.4%)
CIE-LABlab(9.65, -3.31, -13.67)
CIE-LCHlch(9.65, 14.07, 256.39°)
OKLaboklab(21.95% -0.024 -0.0387)
OKLCHoklch(21.95% 0.046 238.2)
XYZxyz(0.9379, 1.0810, 2.6413)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021D2D #2D1202
analogous
#022D28 #021D2D #02082D
triadic
#021D2D #2D021D #1D2D02
tetradic
#021D2D #28022D #2D1202 #082D02
square
#021D2D #28022D #2D1202 #082D02
split-complementary
#021D2D #2D0208 #2D2802
monochromatic
#01131D #01131D #021D2D #054368 #0769A2

Accessibility & contrast

On white

17.27
#021D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#021D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021D2D
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021D2D#FFFFFF#000000##FFFFFF
##021D2D1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151D2E
Deuteranopia (green-blind)
#0F192D
Tritanopia (blue-blind)
#002123
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021d2d;
/* rgb */ color: rgb(2, 29, 45);
/* oklch */ color: oklch(21.9% 0.046 238.2);
Tailwind
colors: {
  custom: {
    50: '#495866',
    500: '#021d2d',
    950: '#000000',
  },
}
SCSS
$custom: #021d2d;
$custom-light: #495866;
$custom-dark: #000000;
JSON
{
  "hex": "#021d2d",
  "rgb": {
    "r": 2,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 202.326,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.21946,
    "c": 0.0456,
    "h": 238.2
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#021D2D
secondary
#723A19
accent
#7929FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #021D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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