#021B08#021B08

#021B08 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.6% C 0.050 H 149.6°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#021B08
RGBrgb(2, 27, 8)
HSLhsl(134, 86%, 6%)
HSVhsv(134, 93%, 11%)
CMYKcmyk(92.6%, 0%, 70.4%, 89.4%)
CIE-LABlab(7.35, -12.82, 7.49)
CIE-LCHlch(7.35, 14.85, 149.70°)
OKLaboklab(19.58% -0.0429 0.0252)
OKLCHoklch(19.58% 0.05 149.6)
XYZxyz(0.4608, 0.8142, 0.3626)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B08 #1B0215
analogous
#081B02 #021B08 #021B14
triadic
#021B08 #08021B #1B0802
tetradic
#021B08 #02081B #1B0215 #1B1402
square
#021B08 #02081B #1B0215 #1B1402
split-complementary
#021B08 #14021B #1B0208
monochromatic
#021C08 #021C08 #021C08 #065419 #0A8D2A

Accessibility & contrast

On white

18.06
#021B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B08
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B08#FFFFFF#000000##FFFFFF
##021B081.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1807
Deuteranopia (green-blind)
#181509
Tritanopia (blue-blind)
#001A17
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021b08;
/* rgb */ color: rgb(2, 27, 8);
/* oklch */ color: oklch(19.6% 0.050 149.6);
Tailwind
colors: {
  custom: {
    50: '#47574a',
    500: '#021b08',
    950: '#000000',
  },
}
SCSS
$custom: #021b08;
$custom-light: #47574a;
$custom-dark: #000000;
JSON
{
  "hex": "#021b08",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 8
  },
  "hsl": {
    "h": 134.4,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19582,
    "c": 0.04975,
    "h": 149.6
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#021B08
secondary
#61184F
accent
#2BCAFC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021B08

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

Preview Lab → · Contrast checker → · Palette generator →

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