#021F26#021F26

#021F26 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.1% C 0.037 H 216.6°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#021F26
RGBrgb(2, 31, 38)
HSLhsl(192, 90%, 8%)
HSVhsv(192, 95%, 15%)
CMYKcmyk(94.7%, 18.4%, 0%, 85.1%)
CIE-LABlab(10.05, -7.91, -7.91)
CIE-LCHlch(10.05, 11.19, 225.00°)
OKLaboklab(22.14% -0.0297 -0.0221)
OKLCHoklch(22.14% 0.037 216.6)
XYZxyz(0.8647, 1.1327, 2.0064)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F26 #260902
analogous
#02261B #021F26 #020D26
triadic
#021F26 #26021F #1F2602
tetradic
#021F26 #1B0226 #260902 #0D2602
square
#021F26 #1B0226 #260902 #0D2602
split-complementary
#021F26 #26020D #261B02
monochromatic
#02181D #02181D #021F26 #054E60 #087E9A

Accessibility & contrast

On white

17.12
#021F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F26
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F26#FFFFFF#000000##FFFFFF
##021F261.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E26
Deuteranopia (green-blind)
#151A26
Tritanopia (blue-blind)
#002121
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #021f26;
/* rgb */ color: rgb(2, 31, 38);
/* oklch */ color: oklch(22.1% 0.037 216.6);
Tailwind
colors: {
  custom: {
    50: '#485a60',
    500: '#021f26',
    950: '#000000',
  },
}
SCSS
$custom: #021f26;
$custom-light: #485a60;
$custom-dark: #000000;
JSON
{
  "hex": "#021f26",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 191.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.22141,
    "c": 0.03706,
    "h": 216.6
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#021F26
secondary
#6B2918
accent
#5229FF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010304
muted
#777879

Preview Lab

Preview with #021F26

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

Preview Lab → · Contrast checker → · Palette generator →

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