#021A29#021A29

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

Color values

HEX#021A29
RGBrgb(2, 26, 41)
HSLhsl(203, 91%, 8%)
HSVhsv(203, 95%, 16%)
CMYKcmyk(95.1%, 36.6%, 0%, 83.9%)
CIE-LABlab(8.23, -2.94, -12.95)
CIE-LCHlch(8.23, 13.28, 257.20°)
OKLaboklab(20.74% -0.0223 -0.0367)
OKLCHoklch(20.74% 0.043 238.8)
XYZxyz(0.7945, 0.9117, 2.2315)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A29 #291102
analogous
#022924 #021A29 #020629
triadic
#021A29 #29021A #1A2902
tetradic
#021A29 #240229 #291102 #062902
square
#021A29 #240229 #291102 #062902
split-complementary
#021A29 #290206 #292402
monochromatic
#01131D #01131D #021A29 #053F63 #08649E

Accessibility & contrast

On white

17.76
#021A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A29
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A29#FFFFFF#000000##FFFFFF
##021A291.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021a29;
/* rgb */ color: rgb(2, 26, 41);
/* oklch */ color: oklch(20.7% 0.043 238.8);
Tailwind
colors: {
  custom: {
    50: '#485662',
    500: '#021a29',
    950: '#000000',
  },
}
SCSS
$custom: #021a29;
$custom-light: #485662;
$custom-dark: #000000;
JSON
{
  "hex": "#021a29",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 41
  },
  "hsl": {
    "h": 203.077,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.20741,
    "c": 0.04291,
    "h": 238.8
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#021A29
secondary
#6E3A19
accent
#7B29FF
background
#F4F5F5
surface
#E7E8EA
border
#C3C4C6
text
#010305
muted
#777879

Preview Lab

Preview with #021A29

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

Preview Lab → · Contrast checker → · Palette generator →

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