#021D2F#021D2F

#021D2F is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.1% C 0.048 H 241.3°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#021D2F
RGBrgb(2, 29, 47)
HSLhsl(204, 92%, 10%)
HSVhsv(204, 96%, 18%)
CMYKcmyk(95.7%, 38.3%, 0%, 81.6%)
CIE-LABlab(9.77, -2.36, -14.94)
CIE-LCHlch(9.77, 15.13, 261.02°)
OKLaboklab(22.09% -0.0232 -0.0424)
OKLCHoklch(22.09% 0.048 241.3)
XYZxyz(0.9773, 1.0967, 2.8490)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021D2F #2F1402
analogous
#022F2B #021D2F #02072F
triadic
#021D2F #2F021D #1D2F02
tetradic
#021D2F #2B022F #2F1402 #072F02
square
#021D2F #2B022F #2F1402 #072F02
split-complementary
#021D2F #2F0207 #2F2B02
monochromatic
#01121D #01121D #021D2F #04416A #0765A4

Accessibility & contrast

On white

17.22
#021D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#021D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021D2F
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021D2F#FFFFFF#000000##FFFFFF
##021D2F1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D30
Deuteranopia (green-blind)
#0E192F
Tritanopia (blue-blind)
#002123
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021d2f;
/* rgb */ color: rgb(2, 29, 47);
/* oklch */ color: oklch(22.1% 0.048 241.3);
Tailwind
colors: {
  custom: {
    50: '#4a5867',
    500: '#021d2f',
    950: '#000000',
  },
}
SCSS
$custom: #021d2f;
$custom-light: #4a5867;
$custom-dark: #000000;
JSON
{
  "hex": "#021d2f",
  "rgb": {
    "r": 2,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 204,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.22085,
    "c": 0.04837,
    "h": 241.3
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#021D2F
secondary
#743D19
accent
#7E29FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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