#02121E#02121E

#02121E is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.4% C 0.035 H 240.4°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#02121E
RGBrgb(2, 18, 30)
HSLhsl(206, 88%, 6%)
HSVhsv(206, 93%, 12%)
CMYKcmyk(93.3%, 40%, 0%, 88.2%)
CIE-LABlab(4.87, -1.51, -9.81)
CIE-LCHlch(4.87, 9.93, 261.24°)
OKLaboklab(17.42% -0.0173 -0.0303)
OKLCHoklch(17.42% 0.035 240.4)
XYZxyz(0.4756, 0.5392, 1.3071)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02121E #1E0E02
analogous
#021E1C #02121E #02041E
triadic
#02121E #1E0212 #121E02
tetradic
#02121E #1C021E #1E0E02 #041E02
square
#02121E #1C021E #1E0E02 #041E02
split-complementary
#02121E #1E0204 #1E1C02
monochromatic
#02111D #02111D #02121E #063457 #0A5791

Accessibility & contrast

On white

18.96
#02121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#02121E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02121E
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02121E#FFFFFF#000000##FFFFFF
##02121E1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C121F
Deuteranopia (green-blind)
#080F1E
Tritanopia (blue-blind)
#001516
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #02121e;
/* rgb */ color: rgb(2, 18, 30);
/* oklch */ color: oklch(17.4% 0.035 240.4);
Tailwind
colors: {
  custom: {
    50: '#475059',
    500: '#02121e',
    950: '#000000',
  },
}
SCSS
$custom: #02121e;
$custom-light: #475059;
$custom-dark: #000000;
JSON
{
  "hex": "#02121e",
  "rgb": {
    "r": 2,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 205.714,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.17425,
    "c": 0.03491,
    "h": 240.4
  },
  "luminance": 0.00539
}

Semantic roles & 50–950 ramp

primary
#02121E
secondary
#643818
accent
#852AFE
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000203
muted
#777878

Preview Lab

Preview with #02121E

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

Preview Lab → · Contrast checker → · Palette generator →

#02121E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva