#02271A#02271A

#02271A is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.3% C 0.049 H 165.0°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#02271A
RGBrgb(2, 39, 26)
HSLhsl(159, 90%, 8%)
HSVhsv(159, 95%, 15%)
CMYKcmyk(94.9%, 0%, 33.3%, 84.7%)
CIE-LABlab(12.85, -17.15, 4.93)
CIE-LCHlch(12.85, 17.84, 163.95°)
OKLaboklab(24.27% -0.0471 0.0126)
OKLCHoklch(24.27% 0.049 165)
XYZxyz(0.9369, 1.5384, 1.2246)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02271A #27020F
analogous
#022707 #02271A #022127
triadic
#02271A #1A0227 #271A02
tetradic
#02271A #070227 #27020F #212702
square
#02271A #070227 #27020F #212702
split-complementary
#02271A #270221 #270702
monochromatic
#011D13 #011D13 #02271A #056141 #089B68

Accessibility & contrast

On white

16.06
#02271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#02271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02271A
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02271A#FFFFFF#000000##FFFFFF
##02271A1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262319
Deuteranopia (green-blind)
#21201B
Tritanopia (blue-blind)
#002723
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #02271a;
/* rgb */ color: rgb(2, 39, 26);
/* oklch */ color: oklch(24.3% 0.049 165.0);
Tailwind
colors: {
  custom: {
    50: '#486156',
    500: '#02271a',
    950: '#000000',
  },
}
SCSS
$custom: #02271a;
$custom-light: #486156;
$custom-dark: #000000;
JSON
{
  "hex": "#02271a",
  "rgb": {
    "r": 2,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 158.919,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24272,
    "c": 0.04872,
    "h": 165
  },
  "luminance": 0.01539
}

Semantic roles & 50–950 ramp

primary
#02271A
secondary
#6C1836
accent
#2974FF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #02271A

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

Preview Lab → · Contrast checker → · Palette generator →

#02271A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva