#021B15#021B15

#021B15 is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.0% C 0.035 H 174.9°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#021B15
RGBrgb(2, 27, 21)
HSLhsl(166, 86%, 6%)
HSVhsv(166, 93%, 11%)
CMYKcmyk(92.6%, 0%, 22.2%, 89.4%)
CIE-LABlab(7.69, -10.50, 1.17)
CIE-LCHlch(7.69, 10.57, 173.63°)
OKLaboklab(19.98% -0.0345 0.0031)
OKLCHoklch(19.98% 0.035 174.9)
XYZxyz(0.5523, 0.8508, 0.8444)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B15 #1B0208
analogous
#021B08 #021B15 #02141B
triadic
#021B15 #15021B #1B1502
tetradic
#021B15 #08021B #1B0208 #141B02
square
#021B15 #08021B #1B0208 #141B02
split-complementary
#021B15 #1B0214 #1B0802
monochromatic
#021C16 #021C16 #021C16 #065441 #0A8D6E

Accessibility & contrast

On white

17.95
#021B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B15
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B15#FFFFFF#000000##FFFFFF
##021B151.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1915
Deuteranopia (green-blind)
#161615
Tritanopia (blue-blind)
#001B19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021b15;
/* rgb */ color: rgb(2, 27, 21);
/* oklch */ color: oklch(20.0% 0.035 174.9);
Tailwind
colors: {
  custom: {
    50: '#475752',
    500: '#021b15',
    950: '#000000',
  },
}
SCSS
$custom: #021b15;
$custom-light: #475752;
$custom-dark: #000000;
JSON
{
  "hex": "#021b15",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 21
  },
  "hsl": {
    "h": 165.6,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19979,
    "c": 0.03469,
    "h": 174.9
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#021B15
secondary
#611829
accent
#2B5EFC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021B15

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

Preview Lab → · Contrast checker → · Palette generator →

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