#021C31#021C31

#021C31 is a very dark, muted cyan. Relative luminance 0.011; OKLCH L 21.9% C 0.052 H 245.9°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#021C31
RGBrgb(2, 28, 49)
HSLhsl(207, 92%, 10%)
HSVhsv(207, 96%, 19%)
CMYKcmyk(95.9%, 42.9%, 0%, 80.8%)
CIE-LABlab(9.52, -0.65, -16.79)
CIE-LCHlch(9.52, 16.80, 267.79°)
OKLaboklab(21.93% -0.0214 -0.0479)
OKLCHoklch(21.93% 0.052 245.9)
XYZxyz(0.9945, 1.0650, 3.0583)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C31 #311702
analogous
#02312F #021C31 #020431
triadic
#021C31 #31021C #1C3102
tetradic
#021C31 #2F0231 #311702 #043102
square
#021C31 #2F0231 #311702 #043102
split-complementary
#021C31 #310204 #312F02
monochromatic
#01111D #01111D #021C31 #043E6C #075FA7

Accessibility & contrast

On white

17.31
#021C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C31
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C31#FFFFFF#000000##FFFFFF
##021C311.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121D32
Deuteranopia (green-blind)
#0B1931
Tritanopia (blue-blind)
#002124
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #021c31;
/* rgb */ color: rgb(2, 28, 49);
/* oklch */ color: oklch(21.9% 0.052 245.9);
Tailwind
colors: {
  custom: {
    50: '#4b5769',
    500: '#021c31',
    950: '#000000',
  },
}
SCSS
$custom: #021c31;
$custom-light: #4b5769;
$custom-dark: #000000;
JSON
{
  "hex": "#021c31",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 49
  },
  "hsl": {
    "h": 206.809,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.2193,
    "c": 0.05243,
    "h": 245.9
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#021C31
secondary
#754319
accent
#8929FF
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#010306
muted
#77787A

Preview Lab

Preview with #021C31

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

Preview Lab → · Contrast checker → · Palette generator →

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