#021C28#021C28

#021C28 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.3% C 0.040 H 231.2°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#021C28
RGBrgb(2, 28, 40)
HSLhsl(199, 90%, 8%)
HSVhsv(199, 95%, 16%)
CMYKcmyk(95%, 30%, 0%, 84.3%)
CIE-LABlab(8.96, -4.91, -11.07)
CIE-LCHlch(8.96, 12.11, 246.07°)
OKLaboklab(21.3% -0.0251 -0.0312)
OKLCHoklch(21.3% 0.04 231.2)
XYZxyz(0.8231, 0.9965, 2.1560)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C28 #280E02
analogous
#022821 #021C28 #020928
triadic
#021C28 #28021C #1C2802
tetradic
#021C28 #210228 #280E02 #092802
square
#021C28 #210228 #280E02 #092802
split-complementary
#021C28 #280209 #282102
monochromatic
#01141D #01141D #021C28 #054562 #086E9D

Accessibility & contrast

On white

17.51
#021C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C28
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C28#FFFFFF#000000##FFFFFF
##021C281.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161C29
Deuteranopia (green-blind)
#101828
Tritanopia (blue-blind)
#001F20
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021c28;
/* rgb */ color: rgb(2, 28, 40);
/* oklch */ color: oklch(21.3% 0.040 231.2);
Tailwind
colors: {
  custom: {
    50: '#485862',
    500: '#021c28',
    950: '#000000',
  },
}
SCSS
$custom: #021c28;
$custom-light: #485862;
$custom-dark: #000000;
JSON
{
  "hex": "#021c28",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 198.947,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.21302,
    "c": 0.04003,
    "h": 231.2
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#021C28
secondary
#6D3319
accent
#6C29FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021C28

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

Preview Lab → · Contrast checker → · Palette generator →

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