#04281B#04281B

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

Color values

HEX#04281B
RGBrgb(4, 40, 27)
HSLhsl(158, 82%, 9%)
HSVhsv(158, 90%, 16%)
CMYKcmyk(90%, 0%, 32.5%, 84.3%)
CIE-LABlab(13.37, -16.78, 4.96)
CIE-LCHlch(13.37, 17.49, 163.54°)
OKLaboklab(24.73% -0.0461 0.0127)
OKLCHoklch(24.73% 0.048 164.7)
XYZxyz(1.0066, 1.6224, 1.2968)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04281B #280411
analogous
#042809 #04281B #042328
triadic
#04281B #1B0428 #281B04
tetradic
#04281B #090428 #280411 #232804
square
#04281B #090428 #280411 #232804
split-complementary
#04281B #280423 #280904
monochromatic
#031C13 #031C13 #04281B #0A6041 #0F9766

Accessibility & contrast

On white

15.85
#04281B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04281B
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04281B#FFFFFF#000000##FFFFFF
##04281B1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27241A
Deuteranopia (green-blind)
#22211C
Tritanopia (blue-blind)
#002824
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #04281b;
/* rgb */ color: rgb(4, 40, 27);
/* oklch */ color: oklch(24.7% 0.048 164.7);
Tailwind
colors: {
  custom: {
    50: '#4a6257',
    500: '#04281b',
    950: '#000000',
  },
}
SCSS
$custom: #04281b;
$custom-light: #4a6257;
$custom-dark: #000000;
JSON
{
  "hex": "#04281b",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 158.333,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24728,
    "c": 0.04781,
    "h": 164.7
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#04281B
secondary
#6B1D39
accent
#3078F8
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #04281B

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

Preview Lab → · Contrast checker → · Palette generator →

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