#02141C#02141C

#02141C is a very dark, muted cyan. Relative luminance 0.006; OKLCH L 17.9% C 0.031 H 227.5°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#02141C
RGBrgb(2, 20, 28)
HSLhsl(198, 87%, 6%)
HSVhsv(198, 93%, 11%)
CMYKcmyk(92.9%, 28.6%, 0%, 89%)
CIE-LABlab(5.39, -3.39, -7.48)
CIE-LCHlch(5.39, 8.21, 245.62°)
OKLaboklab(17.95% -0.0208 -0.0227)
OKLCHoklch(17.95% 0.031 227.5)
XYZxyz(0.4847, 0.5970, 1.1881)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02141C #1C0A02
analogous
#021C17 #02141C #02071C
triadic
#02141C #1C0214 #141C02
tetradic
#02141C #17021C #1C0A02 #071C02
square
#02141C #17021C #1C0A02 #071C02
split-complementary
#02141C #1C0207 #1C1702
monochromatic
#02141D #02141D #02141D #063D55 #0A668E

Accessibility & contrast

On white

18.76
#02141C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#02141C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02141C
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02141C#FFFFFF#000000##FFFFFF
##02141C1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10131C
Deuteranopia (green-blind)
#0C111C
Tritanopia (blue-blind)
#001617
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #02141c;
/* rgb */ color: rgb(2, 20, 28);
/* oklch */ color: oklch(17.9% 0.031 227.5);
Tailwind
colors: {
  custom: {
    50: '#475158',
    500: '#02141c',
    950: '#000000',
  },
}
SCSS
$custom: #02141c;
$custom-light: #475158;
$custom-dark: #000000;
JSON
{
  "hex": "#02141c",
  "rgb": {
    "r": 2,
    "g": 20,
    "b": 28
  },
  "hsl": {
    "h": 198.462,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.17945,
    "c": 0.03078,
    "h": 227.5
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#02141C
secondary
#622F18
accent
#6C2BFD
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02141C

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

Preview Lab → · Contrast checker → · Palette generator →

#02141C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva