#021F2F#021F2F

#021F2F is a very dark, muted cyan. Relative luminance 0.012; OKLCH L 22.7% C 0.046 H 236.8°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#021F2F
RGBrgb(2, 31, 47)
HSLhsl(201, 92%, 10%)
HSVhsv(201, 96%, 18%)
CMYKcmyk(95.7%, 34%, 0%, 81.6%)
CIE-LABlab(10.54, -3.84, -13.73)
CIE-LCHlch(10.54, 14.26, 254.39°)
OKLaboklab(22.7% -0.0255 -0.0389)
OKLCHoklch(22.7% 0.046 236.8)
XYZxyz(1.0279, 1.1980, 2.8658)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F2F #2F1202
analogous
#022F29 #021F2F #02092F
triadic
#021F2F #2F021F #1F2F02
tetradic
#021F2F #29022F #2F1202 #092F02
square
#021F2F #29022F #2F1202 #092F02
split-complementary
#021F2F #2F0209 #2F2902
monochromatic
#01131D #01131D #021F2F #04466A #076CA4

Accessibility & contrast

On white

16.94
#021F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#021F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F2F
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F2F#FFFFFF#000000##FFFFFF
##021F2F1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#002325
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #021f2f;
/* rgb */ color: rgb(2, 31, 47);
/* oklch */ color: oklch(22.7% 0.046 236.8);
Tailwind
colors: {
  custom: {
    50: '#4a5a67',
    500: '#021f2f',
    950: '#000000',
  },
}
SCSS
$custom: #021f2f;
$custom-light: #4a5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#021f2f",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 201.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.22696,
    "c": 0.04647,
    "h": 236.8
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#021F2F
secondary
#743919
accent
#7529FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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