#021D2A#021D2A

#021D2A is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 21.7% C 0.042 H 232.6°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#021D2A
RGBrgb(2, 29, 42)
HSLhsl(200, 91%, 9%)
HSVhsv(200, 95%, 16%)
CMYKcmyk(95.2%, 31%, 0%, 83.5%)
CIE-LABlab(9.47, -4.72, -11.75)
CIE-LCHlch(9.47, 12.66, 248.14°)
OKLaboklab(21.75% -0.0253 -0.0332)
OKLCHoklch(21.75% 0.042 232.6)
XYZxyz(0.8821, 1.0587, 2.3479)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021D2A #2A0F02
analogous
#022A23 #021D2A #02092A
triadic
#021D2A #2A021D #1D2A02
tetradic
#021D2A #23022A #2A0F02 #092A02
square
#021D2A #23022A #2A0F02 #092A02
split-complementary
#021D2A #2A0209 #2A2302
monochromatic
#01141D #01141D #021D2A #054564 #086E9F

Accessibility & contrast

On white

17.33
#021D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021D2A
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021D2A#FFFFFF#000000##FFFFFF
##021D2A1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161D2B
Deuteranopia (green-blind)
#11192A
Tritanopia (blue-blind)
#002021
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021d2a;
/* rgb */ color: rgb(2, 29, 42);
/* oklch */ color: oklch(21.7% 0.042 232.6);
Tailwind
colors: {
  custom: {
    50: '#495863',
    500: '#021d2a',
    950: '#000000',
  },
}
SCSS
$custom: #021d2a;
$custom-light: #495863;
$custom-dark: #000000;
JSON
{
  "hex": "#021d2a",
  "rgb": {
    "r": 2,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 199.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.21746,
    "c": 0.04174,
    "h": 232.6
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#021D2A
secondary
#6F3519
accent
#6E29FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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