#04261E#04261E

#04261E is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.2% C 0.042 H 173.8°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#04261E
RGBrgb(4, 38, 30)
HSLhsl(166, 81%, 8%)
HSVhsv(166, 89%, 15%)
CMYKcmyk(89.5%, 0%, 21.1%, 85.1%)
CIE-LABlab(12.64, -14.74, 1.79)
CIE-LCHlch(12.64, 14.85, 173.06°)
OKLaboklab(24.17% -0.0416 0.0045)
OKLCHoklch(24.17% 0.042 173.8)
XYZxyz(0.9774, 1.5057, 1.4672)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04261E #26040C
analogous
#04260D #04261E #041D26
triadic
#04261E #1E0426 #261E04
tetradic
#04261E #0D0426 #26040C #1D2604
square
#04261E #0D0426 #26040C #1D2604
split-complementary
#04261E #26041D #260D04
monochromatic
#031C16 #031C16 #04261E #0A5D4A #109575

Accessibility & contrast

On white

16.14
#04261E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#04261E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04261E
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04261E#FFFFFF#000000##FFFFFF
##04261E1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231E
Deuteranopia (green-blind)
#201F1F
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #04261e;
/* rgb */ color: rgb(4, 38, 30);
/* oklch */ color: oklch(24.2% 0.042 173.8);
Tailwind
colors: {
  custom: {
    50: '#496059',
    500: '#04261e',
    950: '#000000',
  },
}
SCSS
$custom: #04261e;
$custom-light: #496059;
$custom-dark: #000000;
JSON
{
  "hex": "#04261e",
  "rgb": {
    "r": 4,
    "g": 38,
    "b": 30
  },
  "hsl": {
    "h": 165.882,
    "s": 80.952,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24166,
    "c": 0.04188,
    "h": 173.8
  },
  "luminance": 0.01506
}

Semantic roles & 50–950 ramp

primary
#04261E
secondary
#691D2F
accent
#305FF7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #04261E

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

Preview Lab → · Contrast checker → · Palette generator →

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