#021F28#021F28

#021F28 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.3% C 0.039 H 222.0°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#021F28
RGBrgb(2, 31, 40)
HSLhsl(194, 90%, 8%)
HSVhsv(194, 95%, 16%)
CMYKcmyk(95%, 22.5%, 0%, 84.3%)
CIE-LABlab(10.15, -7.03, -9.22)
CIE-LCHlch(10.15, 11.60, 232.69°)
OKLaboklab(22.26% -0.0287 -0.0259)
OKLCHoklch(22.26% 0.039 222)
XYZxyz(0.8979, 1.1460, 2.1809)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F28 #280B02
analogous
#02281E #021F28 #020C28
triadic
#021F28 #28021F #1F2802
tetradic
#021F28 #1E0228 #280B02 #0C2802
square
#021F28 #1E0228 #280B02 #0C2802
split-complementary
#021F28 #28020C #281E02
monochromatic
#01171D #01171D #021F28 #054C62 #08799D

Accessibility & contrast

On white

17.08
#021F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F28
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F28#FFFFFF#000000##FFFFFF
##021F281.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E28
Deuteranopia (green-blind)
#141A28
Tritanopia (blue-blind)
#002222
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #021f28;
/* rgb */ color: rgb(2, 31, 40);
/* oklch */ color: oklch(22.3% 0.039 222.0);
Tailwind
colors: {
  custom: {
    50: '#485a61',
    500: '#021f28',
    950: '#000000',
  },
}
SCSS
$custom: #021f28;
$custom-light: #485a61;
$custom-dark: #000000;
JSON
{
  "hex": "#021f28",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 194.211,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.22256,
    "c": 0.03865,
    "h": 222
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#021F28
secondary
#6D2D19
accent
#5C29FF
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010305
muted
#777879

Preview Lab

Preview with #021F28

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

Preview Lab → · Contrast checker → · Palette generator →

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