#04281A#04281A

#04281A is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.7% C 0.049 H 163.0°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#04281A
RGBrgb(4, 40, 26)
HSLhsl(157, 82%, 9%)
HSVhsv(157, 90%, 16%)
CMYKcmyk(90%, 0%, 35%, 84.3%)
CIE-LABlab(13.34, -17.07, 5.62)
CIE-LCHlch(13.34, 17.98, 161.77°)
OKLaboklab(24.7% -0.0467 0.0143)
OKLCHoklch(24.7% 0.049 163)
XYZxyz(0.9952, 1.6179, 1.2369)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04281A #280412
analogous
#042808 #04281A #042428
triadic
#04281A #1A0428 #281A04
tetradic
#04281A #080428 #280412 #242804
square
#04281A #080428 #280412 #242804
split-complementary
#04281A #280424 #280804
monochromatic
#031C12 #031C12 #04281A #0A603E #0F9762

Accessibility & contrast

On white

15.87
#04281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#04281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04281A
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04281A#FFFFFF#000000##FFFFFF
##04281A1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272419
Deuteranopia (green-blind)
#22211B
Tritanopia (blue-blind)
#002824
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #04281a;
/* rgb */ color: rgb(4, 40, 26);
/* oklch */ color: oklch(24.7% 0.049 163.0);
Tailwind
colors: {
  custom: {
    50: '#4a6256',
    500: '#04281a',
    950: '#000000',
  },
}
SCSS
$custom: #04281a;
$custom-light: #4a6256;
$custom-dark: #000000;
JSON
{
  "hex": "#04281a",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 156.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24697,
    "c": 0.04887,
    "h": 163
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#04281A
secondary
#6B1D3B
accent
#307EF8
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #04281A

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

Preview Lab → · Contrast checker → · Palette generator →

#04281A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva