#021631#021631

#021631 is a very dark, moderate cyan. Relative luminance 0.008; OKLCH L 20.2% C 0.061 H 255.3°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#021631
RGBrgb(2, 22, 49)
HSLhsl(214, 92%, 10%)
HSVhsv(214, 96%, 19%)
CMYKcmyk(95.9%, 55.1%, 0%, 80.8%)
CIE-LABlab(7.30, 3.99, -20.33)
CIE-LCHlch(7.30, 20.72, 281.11°)
OKLaboklab(20.18% -0.0154 -0.0585)
OKLCHoklch(20.18% 0.061 255.3)
XYZxyz(0.8661, 0.8084, 3.0155)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021631 #311D02
analogous
#022E31 #021631 #050231
triadic
#021631 #310216 #163102
tetradic
#021631 #31022E #311D02 #023105
square
#021631 #31022E #311D02 #023105
split-complementary
#021631 #310502 #2E3102
monochromatic
#010D1D #010D1D #021631 #04306C #074BA7

Accessibility & contrast

On white

18.08
#021631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021631
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021631#FFFFFF#000000##FFFFFF
##0216311.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071932
Deuteranopia (green-blind)
#001430
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021631;
/* rgb */ color: rgb(2, 22, 49);
/* oklch */ color: oklch(20.2% 0.061 255.3);
Tailwind
colors: {
  custom: {
    50: '#4a5269',
    500: '#021631',
    950: '#000000',
  },
}
SCSS
$custom: #021631;
$custom-light: #4a5269;
$custom-dark: #000000;
JSON
{
  "hex": "#021631",
  "rgb": {
    "r": 2,
    "g": 22,
    "b": 49
  },
  "hsl": {
    "h": 214.468,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20178,
    "c": 0.06053,
    "h": 255.3
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#021631
secondary
#754E19
accent
#A429FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021631

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

Preview Lab → · Contrast checker → · Palette generator →

#021631 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva