#04241C#04241C

#04241C is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.4% C 0.041 H 172.9°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#04241C
RGBrgb(4, 36, 28)
HSLhsl(165, 80%, 8%)
HSVhsv(165, 89%, 14%)
CMYKcmyk(88.9%, 0%, 22.2%, 85.9%)
CIE-LABlab(11.77, -14.28, 1.97)
CIE-LCHlch(11.77, 14.41, 172.14°)
OKLaboklab(23.43% -0.0402 0.005)
OKLCHoklch(23.43% 0.041 172.9)
XYZxyz(0.8904, 1.3713, 1.3161)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04241C #24040C
analogous
#04240C #04241C #041C24
triadic
#04241C #1C0424 #241C04
tetradic
#04241C #0C0424 #24040C #1C2404
square
#04241C #0C0424 #24040C #1C2404
split-complementary
#04241C #24041C #240C04
monochromatic
#031C15 #031C15 #04241C #0A5B47 #109272

Accessibility & contrast

On white

16.48
#04241C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#04241C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04241C
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04241C#FFFFFF#000000##FFFFFF
##04241C1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211C
Deuteranopia (green-blind)
#1E1E1D
Tritanopia (blue-blind)
#002422
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #04241c;
/* rgb */ color: rgb(4, 36, 28);
/* oklch */ color: oklch(23.4% 0.041 172.9);
Tailwind
colors: {
  custom: {
    50: '#495f57',
    500: '#04241c',
    950: '#000000',
  },
}
SCSS
$custom: #04241c;
$custom-light: #495f57;
$custom-dark: #000000;
JSON
{
  "hex": "#04241c",
  "rgb": {
    "r": 4,
    "g": 36,
    "b": 28
  },
  "hsl": {
    "h": 165,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23426,
    "c": 0.04054,
    "h": 172.9
  },
  "luminance": 0.01371
}

Semantic roles & 50–950 ramp

primary
#04241C
secondary
#671D2F
accent
#3163F6
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #04241C

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

Preview Lab → · Contrast checker → · Palette generator →

#04241C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva