#021D31#021D31

#021D31 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 22.2% C 0.051 H 244.0°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#021D31
RGBrgb(2, 29, 49)
HSLhsl(206, 92%, 10%)
HSVhsv(206, 96%, 19%)
CMYKcmyk(95.9%, 40.8%, 0%, 80.8%)
CIE-LABlab(9.90, -1.41, -16.19)
CIE-LCHlch(9.90, 16.25, 265.03°)
OKLaboklab(22.23% -0.0225 -0.0461)
OKLCHoklch(22.23% 0.051 244)
XYZxyz(1.0186, 1.1133, 3.0663)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021D31 #311602
analogous
#02312E #021D31 #020531
triadic
#021D31 #31021D #1D3102
tetradic
#021D31 #2E0231 #311602 #053102
square
#021D31 #2E0231 #311602 #053102
split-complementary
#021D31 #310205 #312E02
monochromatic
#01111D #01111D #021D31 #04406C #0763A7

Accessibility & contrast

On white

17.18
#021D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021D31
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021D31#FFFFFF#000000##FFFFFF
##021D311.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131E32
Deuteranopia (green-blind)
#0C1931
Tritanopia (blue-blind)
#002224
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021d31;
/* rgb */ color: rgb(2, 29, 49);
/* oklch */ color: oklch(22.2% 0.051 244.0);
Tailwind
colors: {
  custom: {
    50: '#4b5869',
    500: '#021d31',
    950: '#000000',
  },
}
SCSS
$custom: #021d31;
$custom-light: #4b5869;
$custom-dark: #000000;
JSON
{
  "hex": "#021d31",
  "rgb": {
    "r": 2,
    "g": 29,
    "b": 49
  },
  "hsl": {
    "h": 205.532,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.22229,
    "c": 0.05127,
    "h": 244
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#021D31
secondary
#754119
accent
#8429FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021D31

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

Preview Lab → · Contrast checker → · Palette generator →

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