#021A2F#021A2F

#021A2F is a very dark, muted cyan. Relative luminance 0.010; OKLCH L 21.2% C 0.052 H 247.3°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#021A2F
RGBrgb(2, 26, 47)
HSLhsl(208, 92%, 10%)
HSVhsv(208, 96%, 18%)
CMYKcmyk(95.7%, 44.7%, 0%, 81.6%)
CIE-LABlab(8.63, -0.08, -16.75)
CIE-LCHlch(8.63, 16.75, 269.72°)
OKLaboklab(21.18% -0.02 -0.0478)
OKLCHoklch(21.18% 0.052 247.3)
XYZxyz(0.9073, 0.9568, 2.8256)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A2F #2F1702
analogous
#022F2E #021A2F #02032F
triadic
#021A2F #2F021A #1A2F02
tetradic
#021A2F #2E022F #2F1702 #032F02
square
#021A2F #2E022F #2F1702 #032F02
split-complementary
#021A2F #2F0203 #2F2E02
monochromatic
#01101D #01101D #021A2F #043A6A #075BA4

Accessibility & contrast

On white

17.63
#021A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A2F
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A2F#FFFFFF#000000##FFFFFF
##021A2F1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B30
Deuteranopia (green-blind)
#09172F
Tritanopia (blue-blind)
#001F22
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021a2f;
/* rgb */ color: rgb(2, 26, 47);
/* oklch */ color: oklch(21.2% 0.052 247.3);
Tailwind
colors: {
  custom: {
    50: '#4a5667',
    500: '#021a2f',
    950: '#000000',
  },
}
SCSS
$custom: #021a2f;
$custom-light: #4a5667;
$custom-dark: #000000;
JSON
{
  "hex": "#021a2f",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 208,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2118,
    "c": 0.05181,
    "h": 247.3
  },
  "luminance": 0.00957
}

Semantic roles & 50–950 ramp

primary
#021A2F
secondary
#744319
accent
#8D29FF
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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