#021D26#021D26

#021D26 is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.5% C 0.037 H 223.3°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#021D26
RGBrgb(2, 29, 38)
HSLhsl(195, 90%, 8%)
HSVhsv(195, 95%, 15%)
CMYKcmyk(94.7%, 23.7%, 0%, 85.1%)
CIE-LABlab(9.25, -6.53, -9.14)
CIE-LCHlch(9.25, 11.23, 234.47°)
OKLaboklab(21.5% -0.0273 -0.0256)
OKLCHoklch(21.5% 0.037 223.3)
XYZxyz(0.8141, 1.0315, 1.9895)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021D26 #260B02
analogous
#02261D #021D26 #020B26
triadic
#021D26 #26021D #1D2602
tetradic
#021D26 #1D0226 #260B02 #0B2602
square
#021D26 #1D0226 #260B02 #0B2602
split-complementary
#021D26 #26020B #261D02
monochromatic
#02161D #02161D #021D26 #054960 #08769A

Accessibility & contrast

On white

17.41
#021D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021D26
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021D26#FFFFFF#000000##FFFFFF
##021D261.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181C26
Deuteranopia (green-blind)
#131826
Tritanopia (blue-blind)
#002020
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021d26;
/* rgb */ color: rgb(2, 29, 38);
/* oklch */ color: oklch(21.5% 0.037 223.3);
Tailwind
colors: {
  custom: {
    50: '#485860',
    500: '#021d26',
    950: '#000000',
  },
}
SCSS
$custom: #021d26;
$custom-light: #485860;
$custom-dark: #000000;
JSON
{
  "hex": "#021d26",
  "rgb": {
    "r": 2,
    "g": 29,
    "b": 38
  },
  "hsl": {
    "h": 195,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.21497,
    "c": 0.03743,
    "h": 223.3
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#021D26
secondary
#6B2D18
accent
#5E29FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000304
muted
#777879

Preview Lab

Preview with #021D26

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

Preview Lab → · Contrast checker → · Palette generator →

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