#021731#021731

#021731 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.5% C 0.059 H 253.9°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#021731
RGBrgb(2, 23, 49)
HSLhsl(213, 92%, 10%)
HSVhsv(213, 96%, 19%)
CMYKcmyk(95.9%, 53.1%, 0%, 80.8%)
CIE-LABlab(7.65, 3.26, -19.77)
CIE-LCHlch(7.65, 20.04, 279.36°)
OKLaboklab(20.46% -0.0163 -0.0568)
OKLCHoklch(20.46% 0.059 253.9)
XYZxyz(0.8856, 0.8473, 3.0220)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021731 #311C02
analogous
#022F31 #021731 #040231
triadic
#021731 #310217 #173102
tetradic
#021731 #31022F #311C02 #023104
square
#021731 #31022F #311C02 #023104
split-complementary
#021731 #310402 #2F3102
monochromatic
#010E1D #010E1D #021731 #04336C #074EA7

Accessibility & contrast

On white

17.96
#021731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021731
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021731#FFFFFF#000000##FFFFFF
##0217311.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091932
Deuteranopia (green-blind)
#021530
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021731;
/* rgb */ color: rgb(2, 23, 49);
/* oklch */ color: oklch(20.5% 0.059 253.9);
Tailwind
colors: {
  custom: {
    50: '#4a5369',
    500: '#021731',
    950: '#000000',
  },
}
SCSS
$custom: #021731;
$custom-light: #4a5369;
$custom-dark: #000000;
JSON
{
  "hex": "#021731",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 213.191,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20464,
    "c": 0.05907,
    "h": 253.9
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#021731
secondary
#754C19
accent
#9F29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #021731

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

Preview Lab → · Contrast checker → · Palette generator →

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