#021F27#021F27

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

Color values

HEX#021F27
RGBrgb(2, 31, 39)
HSLhsl(193, 90%, 8%)
HSVhsv(193, 95%, 15%)
CMYKcmyk(94.9%, 20.5%, 0%, 84.7%)
CIE-LABlab(10.10, -7.47, -8.57)
CIE-LCHlch(10.10, 11.37, 228.90°)
OKLaboklab(22.2% -0.0292 -0.024)
OKLCHoklch(22.2% 0.038 219.4)
XYZxyz(0.8811, 1.1393, 2.0925)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F27 #270A02
analogous
#02271C #021F27 #020C27
triadic
#021F27 #27021F #1F2702
tetradic
#021F27 #1C0227 #270A02 #0C2702
square
#021F27 #1C0227 #270A02 #0C2702
split-complementary
#021F27 #27020C #271C02
monochromatic
#01171D #01171D #021F27 #054D61 #087C9B

Accessibility & contrast

On white

17.10
#021F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#021F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F27
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F27#FFFFFF#000000##FFFFFF
##021F271.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E27
Deuteranopia (green-blind)
#151A27
Tritanopia (blue-blind)
#002222
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #021f27;
/* rgb */ color: rgb(2, 31, 39);
/* oklch */ color: oklch(22.2% 0.038 219.4);
Tailwind
colors: {
  custom: {
    50: '#485a61',
    500: '#021f27',
    950: '#000000',
  },
}
SCSS
$custom: #021f27;
$custom-light: #485a61;
$custom-dark: #000000;
JSON
{
  "hex": "#021f27",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 192.973,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.22198,
    "c": 0.03781,
    "h": 219.4
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#021F27
secondary
#6C2B18
accent
#5729FF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #021F27

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

Preview Lab → · Contrast checker → · Palette generator →

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