#021A28#021A28

#021A28 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.7% C 0.042 H 236.9°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#021A28
RGBrgb(2, 26, 40)
HSLhsl(202, 90%, 8%)
HSVhsv(202, 95%, 16%)
CMYKcmyk(95%, 35%, 0%, 84.3%)
CIE-LABlab(8.17, -3.38, -12.30)
CIE-LCHlch(8.17, 12.76, 254.63°)
OKLaboklab(20.67% -0.0227 -0.0348)
OKLCHoklch(20.67% 0.042 236.9)
XYZxyz(0.7773, 0.9048, 2.1407)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A28 #281002
analogous
#022823 #021A28 #020728
triadic
#021A28 #28021A #1A2802
tetradic
#021A28 #230228 #281002 #072802
square
#021A28 #230228 #281002 #072802
split-complementary
#021A28 #280207 #282302
monochromatic
#01131D #01131D #021A28 #054062 #08669D

Accessibility & contrast

On white

17.78
#021A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A28
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A28#FFFFFF#000000##FFFFFF
##021A281.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A29
Deuteranopia (green-blind)
#0E1628
Tritanopia (blue-blind)
#001E1F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021a28;
/* rgb */ color: rgb(2, 26, 40);
/* oklch */ color: oklch(20.7% 0.042 236.9);
Tailwind
colors: {
  custom: {
    50: '#485662',
    500: '#021a28',
    950: '#000000',
  },
}
SCSS
$custom: #021a28;
$custom-light: #485662;
$custom-dark: #000000;
JSON
{
  "hex": "#021a28",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 202.105,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.20672,
    "c": 0.04155,
    "h": 236.9
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#021A28
secondary
#6D3819
accent
#7829FF
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#010305
muted
#777879

Preview Lab

Preview with #021A28

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

Preview Lab → · Contrast checker → · Palette generator →

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