#021E27#021E27

#021E27 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 21.9% C 0.038 H 222.6°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#021E27
RGBrgb(2, 30, 39)
HSLhsl(195, 90%, 8%)
HSVhsv(195, 95%, 15%)
CMYKcmyk(94.9%, 23.1%, 0%, 84.7%)
CIE-LABlab(9.70, -6.78, -9.18)
CIE-LCHlch(9.70, 11.42, 233.55°)
OKLaboklab(21.88% -0.028 -0.0258)
OKLCHoklch(21.88% 0.038 222.6)
XYZxyz(0.8554, 1.0878, 2.0840)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E27 #270B02
analogous
#02271D #021E27 #020B27
triadic
#021E27 #27021E #1E2702
tetradic
#021E27 #1D0227 #270B02 #0B2702
square
#021E27 #1D0227 #270B02 #0B2702
split-complementary
#021E27 #27020B #271D02
monochromatic
#01161D #01161D #021E27 #054B61 #08789B

Accessibility & contrast

On white

17.25
#021E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#021E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021E27
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E27#FFFFFF#000000##FFFFFF
##021E271.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191D27
Deuteranopia (green-blind)
#141927
Tritanopia (blue-blind)
#002121
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021e27;
/* rgb */ color: rgb(2, 30, 39);
/* oklch */ color: oklch(21.9% 0.038 222.6);
Tailwind
colors: {
  custom: {
    50: '#485961',
    500: '#021e27',
    950: '#000000',
  },
}
SCSS
$custom: #021e27;
$custom-light: #485961;
$custom-dark: #000000;
JSON
{
  "hex": "#021e27",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 194.595,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.21877,
    "c": 0.03804,
    "h": 222.6
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#021E27
secondary
#6C2D18
accent
#5D29FF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #021E27

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

Preview Lab → · Contrast checker → · Palette generator →

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