#021A08#021A08

#021A08 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.2% C 0.048 H 150.1°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#021A08
RGBrgb(2, 26, 8)
HSLhsl(135, 86%, 5%)
HSVhsv(135, 92%, 10%)
CMYKcmyk(92.3%, 0%, 69.2%, 89.8%)
CIE-LABlab(6.95, -12.00, 6.90)
CIE-LCHlch(6.95, 13.84, 150.10°)
OKLaboklab(19.22% -0.0416 0.0239)
OKLCHoklch(19.22% 0.048 150.1)
XYZxyz(0.4382, 0.7692, 0.3551)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A08 #1A0214
analogous
#081A02 #021A08 #021A14
triadic
#021A08 #08021A #1A0802
tetradic
#021A08 #02081A #1A0214 #1A1402
square
#021A08 #02081A #1A0214 #1A1402
split-complementary
#021A08 #14021A #1A0208
monochromatic
#021C09 #021C09 #021C09 #065319 #0B8C2B

Accessibility & contrast

On white

18.20
#021A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A08
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A08#FFFFFF#000000##FFFFFF
##021A081.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1707
Deuteranopia (green-blind)
#171409
Tritanopia (blue-blind)
#001916
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021a08;
/* rgb */ color: rgb(2, 26, 8);
/* oklch */ color: oklch(19.2% 0.048 150.1);
Tailwind
colors: {
  custom: {
    50: '#47564a',
    500: '#021a08',
    950: '#000000',
  },
}
SCSS
$custom: #021a08;
$custom-light: #47564a;
$custom-dark: #000000;
JSON
{
  "hex": "#021a08",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 8
  },
  "hsl": {
    "h": 135,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19219,
    "c": 0.048,
    "h": 150.1
  },
  "luminance": 0.00769
}

Semantic roles & 50–950 ramp

primary
#021A08
secondary
#60184E
accent
#2CC8FC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021A08

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

Preview Lab → · Contrast checker → · Palette generator →

#021A08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva