#021A26#021A26

#021A26 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.5% C 0.039 H 232.8°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#021A26
RGBrgb(2, 26, 38)
HSLhsl(200, 90%, 8%)
HSVhsv(200, 95%, 15%)
CMYKcmyk(94.7%, 31.6%, 0%, 85.1%)
CIE-LABlab(8.05, -4.23, -11.00)
CIE-LCHlch(8.05, 11.79, 248.97°)
OKLaboklab(20.54% -0.0236 -0.031)
OKLCHoklch(20.54% 0.039 232.8)
XYZxyz(0.7441, 0.8915, 1.9662)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A26 #260E02
analogous
#022620 #021A26 #020826
triadic
#021A26 #26021A #1A2602
tetradic
#021A26 #200226 #260E02 #082602
square
#021A26 #200226 #260E02 #082602
split-complementary
#021A26 #260208 #262002
monochromatic
#02141D #02141D #021A26 #054260 #086A9A

Accessibility & contrast

On white

17.82
#021A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A26
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A26#FFFFFF#000000##FFFFFF
##021A261.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021a26;
/* rgb */ color: rgb(2, 26, 38);
/* oklch */ color: oklch(20.5% 0.039 232.8);
Tailwind
colors: {
  custom: {
    50: '#485660',
    500: '#021a26',
    950: '#000000',
  },
}
SCSS
$custom: #021a26;
$custom-light: #485660;
$custom-dark: #000000;
JSON
{
  "hex": "#021a26",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 38
  },
  "hsl": {
    "h": 200,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.20538,
    "c": 0.03898,
    "h": 232.8
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#021A26
secondary
#6B3418
accent
#7029FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000304
muted
#777879

Preview Lab

Preview with #021A26

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

Preview Lab → · Contrast checker → · Palette generator →

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