#021B26#021B26

#021B26 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.9% C 0.038 H 229.7°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#021B26
RGBrgb(2, 27, 38)
HSLhsl(198, 90%, 8%)
HSVhsv(198, 95%, 15%)
CMYKcmyk(94.7%, 28.9%, 0%, 85.1%)
CIE-LABlab(8.45, -5.02, -10.38)
CIE-LCHlch(8.45, 11.53, 244.18°)
OKLaboklab(20.86% -0.0248 -0.0292)
OKLCHoklch(20.86% 0.038 229.7)
XYZxyz(0.7667, 0.9366, 1.9737)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B26 #260D02
analogous
#02261F #021B26 #020926
triadic
#021B26 #26021B #1B2602
tetradic
#021B26 #1F0226 #260D02 #092602
square
#021B26 #1F0226 #260D02 #092602
split-complementary
#021B26 #260209 #261F02
monochromatic
#02151D #02151D #021B26 #054460 #086E9A

Accessibility & contrast

On white

17.69
#021B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#021B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B26
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B26#FFFFFF#000000##FFFFFF
##021B261.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151A27
Deuteranopia (green-blind)
#101726
Tritanopia (blue-blind)
#001E1F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021b26;
/* rgb */ color: rgb(2, 27, 38);
/* oklch */ color: oklch(20.9% 0.038 229.7);
Tailwind
colors: {
  custom: {
    50: '#485760',
    500: '#021b26',
    950: '#000000',
  },
}
SCSS
$custom: #021b26;
$custom-light: #485760;
$custom-dark: #000000;
JSON
{
  "hex": "#021b26",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 38
  },
  "hsl": {
    "h": 198.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.20857,
    "c": 0.03833,
    "h": 229.7
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#021B26
secondary
#6B3218
accent
#6A29FF
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000304
muted
#777879

Preview Lab

Preview with #021B26

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

Preview Lab → · Contrast checker → · Palette generator →

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