#021F29#021F29

#021F29 is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.3% C 0.040 H 224.5°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#021F29
RGBrgb(2, 31, 41)
HSLhsl(195, 91%, 8%)
HSVhsv(195, 95%, 16%)
CMYKcmyk(95.1%, 24.4%, 0%, 83.9%)
CIE-LABlab(10.21, -6.59, -9.88)
CIE-LCHlch(10.21, 11.87, 236.31°)
OKLaboklab(22.32% -0.0282 -0.0277)
OKLCHoklch(22.32% 0.04 224.5)
XYZxyz(0.9151, 1.1529, 2.2717)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F29 #290C02
analogous
#02291F #021F29 #020B29
triadic
#021F29 #29021F #1F2902
tetradic
#021F29 #1F0229 #290C02 #0B2902
square
#021F29 #1F0229 #290C02 #0B2902
split-complementary
#021F29 #29020B #291F02
monochromatic
#01161D #01161D #021F29 #054B63 #08779E

Accessibility & contrast

On white

17.06
#021F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#021F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F29
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F29#FFFFFF#000000##FFFFFF
##021F291.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2A
Deuteranopia (green-blind)
#141A29
Tritanopia (blue-blind)
#002222
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #021f29;
/* rgb */ color: rgb(2, 31, 41);
/* oklch */ color: oklch(22.3% 0.040 224.5);
Tailwind
colors: {
  custom: {
    50: '#495a62',
    500: '#021f29',
    950: '#000000',
  },
}
SCSS
$custom: #021f29;
$custom-light: #495a62;
$custom-dark: #000000;
JSON
{
  "hex": "#021f29",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 195.385,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.22315,
    "c": 0.03956,
    "h": 224.5
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#021F29
secondary
#6E2F19
accent
#6029FF
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010305
muted
#777879

Preview Lab

Preview with #021F29

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

Preview Lab → · Contrast checker → · Palette generator →

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