#04241B#04241B

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

Color values

HEX#04241B
RGBrgb(4, 36, 27)
HSLhsl(163, 80%, 8%)
HSVhsv(163, 89%, 14%)
CMYKcmyk(88.9%, 0%, 25%, 85.9%)
CIE-LABlab(11.73, -14.60, 2.65)
CIE-LCHlch(11.73, 14.84, 169.72°)
OKLaboklab(23.39% -0.0409 0.0068)
OKLCHoklch(23.39% 0.041 170.6)
XYZxyz(0.8787, 1.3666, 1.2542)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04241B #24040D
analogous
#04240B #04241B #041D24
triadic
#04241B #1B0424 #241B04
tetradic
#04241B #0B0424 #24040D #1D2404
square
#04241B #0B0424 #24040D #1D2404
split-complementary
#04241B #24041D #240B04
monochromatic
#031C15 #031C15 #04241B #0A5B44 #10926E

Accessibility & contrast

On white

16.49
#04241B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04241B
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04241B#FFFFFF#000000##FFFFFF
##04241B1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211B
Deuteranopia (green-blind)
#1E1E1C
Tritanopia (blue-blind)
#002421
Achromatopsia (no color)
#1F1F1F

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#04241B
secondary
#671D32
accent
#3169F6
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #04241B

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

Preview Lab → · Contrast checker → · Palette generator →

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