#04291B#04291B

#04291B is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.1% C 0.049 H 163.5°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#04291B
RGBrgb(4, 41, 27)
HSLhsl(157, 82%, 9%)
HSVhsv(157, 90%, 16%)
CMYKcmyk(90.2%, 0%, 34.1%, 83.9%)
CIE-LABlab(13.77, -17.30, 5.52)
CIE-LCHlch(13.77, 18.16, 162.29°)
OKLaboklab(25.06% -0.0474 0.0141)
OKLCHoklch(25.06% 0.049 163.5)
XYZxyz(1.0407, 1.6907, 1.3082)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04291B #290412
analogous
#042909 #04291B #042529
triadic
#04291B #1B0429 #291B04
tetradic
#04291B #090429 #290412 #252904
square
#04291B #090429 #290412 #252904
split-complementary
#04291B #290425 #290904
monochromatic
#031C12 #031C12 #04291B #096140 #0F9964

Accessibility & contrast

On white

15.69
#04291B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04291B
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04291B#FFFFFF#000000##FFFFFF
##04291B1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#23221C
Tritanopia (blue-blind)
#002925
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #04291b;
/* rgb */ color: rgb(4, 41, 27);
/* oklch */ color: oklch(25.1% 0.049 163.5);
Tailwind
colors: {
  custom: {
    50: '#4a6357',
    500: '#04291b',
    950: '#000000',
  },
}
SCSS
$custom: #04291b;
$custom-light: #4a6357;
$custom-dark: #000000;
JSON
{
  "hex": "#04291b",
  "rgb": {
    "r": 4,
    "g": 41,
    "b": 27
  },
  "hsl": {
    "h": 157.297,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25062,
    "c": 0.04945,
    "h": 163.5
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#04291B
secondary
#6C1D3B
accent
#2F7BF9
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #04291B

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

Preview Lab → · Contrast checker → · Palette generator →

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