#04291F#04291F

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

Color values

HEX#04291F
RGBrgb(4, 41, 31)
HSLhsl(164, 82%, 9%)
HSVhsv(164, 90%, 16%)
CMYKcmyk(90.2%, 0%, 24.4%, 83.9%)
CIE-LABlab(13.89, -16.07, 2.86)
CIE-LCHlch(13.89, 16.32, 169.89°)
OKLaboklab(25.2% -0.0449 0.0073)
OKLCHoklch(25.2% 0.046 170.8)
XYZxyz(1.0902, 1.7105, 1.5688)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04291F #29040E
analogous
#04290D #04291F #042129
triadic
#04291F #1F0429 #291F04
tetradic
#04291F #0D0429 #29040E #212904
square
#04291F #0D0429 #29040E #212904
split-complementary
#04291F #290421 #290D04
monochromatic
#031C15 #031C15 #04291F #096149 #0F9973

Accessibility & contrast

On white

15.65
#04291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04291F
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04291F#FFFFFF#000000##FFFFFF
##04291F1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04291f;
/* rgb */ color: rgb(4, 41, 31);
/* oklch */ color: oklch(25.2% 0.046 170.8);
Tailwind
colors: {
  custom: {
    50: '#4a635a',
    500: '#04291f',
    950: '#000000',
  },
}
SCSS
$custom: #04291f;
$custom-light: #4a635a;
$custom-dark: #000000;
JSON
{
  "hex": "#04291f",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 163.784,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25195,
    "c": 0.04552,
    "h": 170.8
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#04291F
secondary
#6C1D32
accent
#2F66F9
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #04291F

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

Preview Lab → · Contrast checker → · Palette generator →

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