#042801#042801

#042801 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 24.2% C 0.078 H 141.3°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#042801
RGBrgb(4, 40, 1)
HSLhsl(115, 95%, 8%)
HSVhsv(115, 98%, 16%)
CMYKcmyk(90%, 0%, 97.5%, 84.3%)
CIE-LABlab(12.89, -22.22, 18.17)
CIE-LCHlch(12.89, 28.70, 140.73°)
OKLaboklab(24.19% -0.0607 0.0486)
OKLCHoklch(24.19% 0.078 141.3)
XYZxyz(0.8143, 1.5455, 0.2841)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042801 #250128
analogous
#172801 #042801 #012811
triadic
#042801 #010428 #280104
tetradic
#042801 #011728 #250128 #281101
square
#042801 #011728 #250128 #281101
split-complementary
#042801 #110128 #280117
monochromatic
#031E01 #031E01 #042801 #0A6402 #109F04

Accessibility & contrast

On white

16.04
#042801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#042801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042801
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042801#FFFFFF#000000##FFFFFF
##0428011.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#252004
Tritanopia (blue-blind)
#002620
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #042801;
/* rgb */ color: rgb(4, 40, 1);
/* oklch */ color: oklch(24.2% 0.078 141.3);
Tailwind
colors: {
  custom: {
    50: '#496247',
    500: '#042801',
    950: '#000000',
  },
}
SCSS
$custom: #042801;
$custom-light: #496247;
$custom-dark: #000000;
JSON
{
  "hex": "#042801",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 115.385,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24185,
    "c": 0.0778,
    "h": 141.3
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#042801
secondary
#68166F
accent
#29FFEF
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #042801

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

Preview Lab → · Contrast checker → · Palette generator →

#042801 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva