#021727#021727

#021727 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 19.7% C 0.043 H 243.0°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#021727
RGBrgb(2, 23, 39)
HSLhsl(206, 90%, 8%)
HSVhsv(206, 95%, 15%)
CMYKcmyk(94.9%, 41%, 0%, 84.7%)
CIE-LABlab(6.97, -1.49, -13.43)
CIE-LCHlch(6.97, 13.52, 263.67°)
OKLaboklab(19.66% -0.0196 -0.0384)
OKLCHoklch(19.66% 0.043 243)
XYZxyz(0.6975, 0.7721, 2.0313)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021727 #271202
analogous
#022724 #021727 #020427
triadic
#021727 #270217 #172702
tetradic
#021727 #240227 #271202 #042702
square
#021727 #240227 #271202 #042702
split-complementary
#021727 #270204 #272402
monochromatic
#01111D #01111D #021727 #053961 #085C9B

Accessibility & contrast

On white

18.19
#021727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021727
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021727#FFFFFF#000000##FFFFFF
##0217271.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1728
Deuteranopia (green-blind)
#0A1427
Tritanopia (blue-blind)
#001B1D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021727;
/* rgb */ color: rgb(2, 23, 39);
/* oklch */ color: oklch(19.7% 0.043 243.0);
Tailwind
colors: {
  custom: {
    50: '#485361',
    500: '#021727',
    950: '#000000',
  },
}
SCSS
$custom: #021727;
$custom-light: #485361;
$custom-dark: #000000;
JSON
{
  "hex": "#021727",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 205.946,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.19664,
    "c": 0.0431,
    "h": 243
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#021727
secondary
#6C3D18
accent
#8529FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000205
muted
#777879

Preview Lab

Preview with #021727

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

Preview Lab → · Contrast checker → · Palette generator →

#021727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva