#021427#021427

#021427 is a very dark, muted cyan. Relative luminance 0.007; OKLCH L 18.7% C 0.047 H 249.8°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#021427
RGBrgb(2, 20, 39)
HSLhsl(211, 90%, 8%)
HSVhsv(211, 95%, 15%)
CMYKcmyk(94.9%, 48.7%, 0%, 84.7%)
CIE-LABlab(5.96, 0.59, -15.02)
CIE-LCHlch(5.96, 15.03, 272.24°)
OKLaboklab(18.74% -0.0162 -0.0439)
OKLCHoklch(18.74% 0.047 249.8)
XYZxyz(0.6413, 0.6596, 2.0126)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021427 #271502
analogous
#022627 #021427 #030227
triadic
#021427 #270214 #142702
tetradic
#021427 #270226 #271502 #022703
square
#021427 #270226 #271502 #022703
split-complementary
#021427 #270302 #262702
monochromatic
#010F1D #010F1D #021427 #053261 #08509B

Accessibility & contrast

On white

18.55
#021427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021427
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021427#FFFFFF#000000##FFFFFF
##0214271.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1528
Deuteranopia (green-blind)
#051227
Tritanopia (blue-blind)
#00191B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #021427;
/* rgb */ color: rgb(2, 20, 39);
/* oklch */ color: oklch(18.7% 0.047 249.8);
Tailwind
colors: {
  custom: {
    50: '#485161',
    500: '#021427',
    950: '#000000',
  },
}
SCSS
$custom: #021427;
$custom-light: #485161;
$custom-dark: #000000;
JSON
{
  "hex": "#021427",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 39
  },
  "hsl": {
    "h": 210.811,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18741,
    "c": 0.04679,
    "h": 249.8
  },
  "luminance": 0.0066
}

Semantic roles & 50–950 ramp

primary
#021427
secondary
#6C4418
accent
#9729FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000205
muted
#777879

Preview Lab

Preview with #021427

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

Preview Lab → · Contrast checker → · Palette generator →

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