#021327#021327

#021327 is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 18.4% C 0.048 H 251.7°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#021327
RGBrgb(2, 19, 39)
HSLhsl(212, 90%, 8%)
HSVhsv(212, 95%, 15%)
CMYKcmyk(94.9%, 51.3%, 0%, 84.7%)
CIE-LABlab(5.65, 1.22, -15.51)
CIE-LCHlch(5.65, 15.56, 274.51°)
OKLaboklab(18.44% -0.0151 -0.0457)
OKLCHoklch(18.44% 0.048 251.7)
XYZxyz(0.6240, 0.6251, 2.0068)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021327 #271602
analogous
#022527 #021327 #030227
triadic
#021327 #270213 #132702
tetradic
#021327 #270225 #271602 #022703
square
#021327 #270225 #271602 #022703
split-complementary
#021327 #270302 #252702
monochromatic
#010E1D #010E1D #021327 #052F61 #084C9B

Accessibility & contrast

On white

18.67
#021327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#021327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021327
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021327#FFFFFF#000000##FFFFFF
##0213271.0018.671.1318.67
#FFFFFF18.671.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091428
Deuteranopia (green-blind)
#041127
Tritanopia (blue-blind)
#00181B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #021327;
/* rgb */ color: rgb(2, 19, 39);
/* oklch */ color: oklch(18.4% 0.048 251.7);
Tailwind
colors: {
  custom: {
    50: '#485061',
    500: '#021327',
    950: '#000000',
  },
}
SCSS
$custom: #021327;
$custom-light: #485061;
$custom-dark: #000000;
JSON
{
  "hex": "#021327",
  "rgb": {
    "r": 2,
    "g": 19,
    "b": 39
  },
  "hsl": {
    "h": 212.432,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18438,
    "c": 0.04816,
    "h": 251.7
  },
  "luminance": 0.00625
}

Semantic roles & 50–950 ramp

primary
#021327
secondary
#6C4618
accent
#9D29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000205
muted
#777879

Preview Lab

Preview with #021327

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

Preview Lab → · Contrast checker → · Palette generator →

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