#021A27#021A27

#021A27 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.6% C 0.040 H 234.9°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#021A27
RGBrgb(2, 26, 39)
HSLhsl(201, 90%, 8%)
HSVhsv(201, 95%, 15%)
CMYKcmyk(94.9%, 33.3%, 0%, 84.7%)
CIE-LABlab(8.11, -3.81, -11.65)
CIE-LCHlch(8.11, 12.26, 251.88°)
OKLaboklab(20.6% -0.0231 -0.0329)
OKLCHoklch(20.6% 0.04 234.9)
XYZxyz(0.7605, 0.8981, 2.0523)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A27 #270F02
analogous
#022721 #021A27 #020727
triadic
#021A27 #27021A #1A2702
tetradic
#021A27 #210227 #270F02 #072702
square
#021A27 #210227 #270F02 #072702
split-complementary
#021A27 #270207 #272102
monochromatic
#01131D #01131D #021A27 #054161 #08689B

Accessibility & contrast

On white

17.80
#021A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A27
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A27#FFFFFF#000000##FFFFFF
##021A271.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141A28
Deuteranopia (green-blind)
#0E1627
Tritanopia (blue-blind)
#001D1E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021a27;
/* rgb */ color: rgb(2, 26, 39);
/* oklch */ color: oklch(20.6% 0.040 234.9);
Tailwind
colors: {
  custom: {
    50: '#485661',
    500: '#021a27',
    950: '#000000',
  },
}
SCSS
$custom: #021a27;
$custom-light: #485661;
$custom-dark: #000000;
JSON
{
  "hex": "#021a27",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 201.081,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.20604,
    "c": 0.04024,
    "h": 234.9
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#021A27
secondary
#6C3618
accent
#7429FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000305
muted
#777879

Preview Lab

Preview with #021A27

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

Preview Lab → · Contrast checker → · Palette generator →

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