#02291F#02291F

#02291F is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.1% C 0.047 H 171.4°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#02291F
RGBrgb(2, 41, 31)
HSLhsl(165, 91%, 8%)
HSVhsv(165, 95%, 16%)
CMYKcmyk(95.1%, 0%, 24.4%, 83.9%)
CIE-LABlab(13.81, -16.61, 2.75)
CIE-LCHlch(13.81, 16.84, 170.61°)
OKLaboklab(25.11% -0.0465 0.007)
OKLCHoklch(25.11% 0.047 171.4)
XYZxyz(1.0652, 1.6976, 1.5676)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02291F #29020C
analogous
#02290B #02291F #021F29
triadic
#02291F #1F0229 #291F02
tetradic
#02291F #0B0229 #29020C #1F2902
square
#02291F #0B0229 #29020C #1F2902
split-complementary
#02291F #29021F #290B02
monochromatic
#011D16 #011D16 #02291F #05634B #089E77

Accessibility & contrast

On white

15.68
#02291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#02291F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02291F
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02291F#FFFFFF#000000##FFFFFF
##02291F1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#222220
Tritanopia (blue-blind)
#002926
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #02291f;
/* rgb */ color: rgb(2, 41, 31);
/* oklch */ color: oklch(25.1% 0.047 171.4);
Tailwind
colors: {
  custom: {
    50: '#49635a',
    500: '#02291f',
    950: '#000000',
  },
}
SCSS
$custom: #02291f;
$custom-light: #49635a;
$custom-dark: #000000;
JSON
{
  "hex": "#02291f",
  "rgb": {
    "r": 2,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 164.615,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25112,
    "c": 0.04698,
    "h": 171.4
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#02291F
secondary
#6E192F
accent
#2960FF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #02291F

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

Preview Lab → · Contrast checker → · Palette generator →

#02291F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva