#021C2D#021C2D

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

Color values

HEX#021C2D
RGBrgb(2, 28, 45)
HSLhsl(204, 91%, 9%)
HSVhsv(204, 96%, 18%)
CMYKcmyk(95.6%, 37.8%, 0%, 82.4%)
CIE-LABlab(9.26, -2.57, -14.28)
CIE-LCHlch(9.26, 14.51, 259.80°)
OKLaboklab(21.64% -0.0229 -0.0405)
OKLCHoklch(21.64% 0.047 240.5)
XYZxyz(0.9138, 1.0328, 2.6333)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C2D #2D1302
analogous
#022D29 #021C2D #02072D
triadic
#021C2D #2D021C #1C2D02
tetradic
#021C2D #29022D #2D1302 #072D02
square
#021C2D #29022D #2D1302 #072D02
split-complementary
#021C2D #2D0207 #2D2902
monochromatic
#01121D #01121D #021C2D #054068 #0765A2

Accessibility & contrast

On white

17.40
#021C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021C2D
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C2D#FFFFFF#000000##FFFFFF
##021C2D1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021c2d;
/* rgb */ color: rgb(2, 28, 45);
/* oklch */ color: oklch(21.6% 0.047 240.5);
Tailwind
colors: {
  custom: {
    50: '#495766',
    500: '#021c2d',
    950: '#000000',
  },
}
SCSS
$custom: #021c2d;
$custom-light: #495766;
$custom-dark: #000000;
JSON
{
  "hex": "#021c2d",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 203.721,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.21638,
    "c": 0.04656,
    "h": 240.5
  },
  "luminance": 0.01033
}

Semantic roles & 50–950 ramp

primary
#021C2D
secondary
#723C19
accent
#7D29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010305
muted
#77787A

Preview Lab

Preview with #021C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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