#04291E#04291E

#04291E is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.2% C 0.046 H 168.8°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#04291E
RGBrgb(4, 41, 30)
HSLhsl(162, 82%, 9%)
HSVhsv(162, 90%, 16%)
CMYKcmyk(90.2%, 0%, 26.8%, 83.9%)
CIE-LABlab(13.86, -16.39, 3.53)
CIE-LCHlch(13.86, 16.76, 167.84°)
OKLaboklab(25.16% -0.0455 0.009)
OKLCHoklch(25.16% 0.046 168.8)
XYZxyz(1.0772, 1.7053, 1.5004)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04291E #29040F
analogous
#04290C #04291E #042229
triadic
#04291E #1E0429 #291E04
tetradic
#04291E #0C0429 #29040F #222904
square
#04291E #0C0429 #29040F #222904
split-complementary
#04291E #290422 #290C04
monochromatic
#031C14 #031C14 #04291E #096147 #0F9970

Accessibility & contrast

On white

15.66
#04291E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#04291E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04291E
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04291E#FFFFFF#000000##FFFFFF
##04291E1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251D
Deuteranopia (green-blind)
#23221F
Tritanopia (blue-blind)
#002926
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #04291e;
/* rgb */ color: rgb(4, 41, 30);
/* oklch */ color: oklch(25.2% 0.046 168.8);
Tailwind
colors: {
  custom: {
    50: '#4a6359',
    500: '#04291e',
    950: '#000000',
  },
}
SCSS
$custom: #04291e;
$custom-light: #4a6359;
$custom-dark: #000000;
JSON
{
  "hex": "#04291e",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 30
  },
  "hsl": {
    "h": 162.162,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25161,
    "c": 0.04643,
    "h": 168.8
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#04291E
secondary
#6C1D34
accent
#2F6BF9
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #04291E

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

Preview Lab → · Contrast checker → · Palette generator →

#04291E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva