#042001#042001

#042001 is a very dark, moderate green. Relative luminance 0.011; OKLCH L 21.4% C 0.067 H 140.7°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#042001
RGBrgb(4, 32, 1)
HSLhsl(114, 94%, 6%)
HSVhsv(114, 97%, 13%)
CMYKcmyk(87.5%, 0%, 96.9%, 87.5%)
CIE-LABlab(9.49, -17.47, 13.45)
CIE-LCHlch(9.49, 22.05, 142.41°)
OKLaboklab(21.36% -0.0518 0.0424)
OKLCHoklch(21.36% 0.067 140.7)
XYZxyz(0.5720, 1.0610, 0.2034)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042001 #1D0120
analogous
#142001 #042001 #01200E
triadic
#042001 #010420 #200104
tetradic
#042001 #011420 #1D0120 #200E01
square
#042001 #011420 #1D0120 #200E01
split-complementary
#042001 #0E0120 #200114
monochromatic
#041E01 #041E01 #042001 #0B5B03 #139705

Accessibility & contrast

On white

17.32
#042001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#042001 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042001
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042001#FFFFFF#000000##FFFFFF
##0420011.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C00
Deuteranopia (green-blind)
#1E1A03
Tritanopia (blue-blind)
#011F1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #042001;
/* rgb */ color: rgb(4, 32, 1);
/* oklch */ color: oklch(21.4% 0.067 140.7);
Tailwind
colors: {
  custom: {
    50: '#475b47',
    500: '#042001',
    950: '#000000',
  },
}
SCSS
$custom: #042001;
$custom-light: #475b47;
$custom-dark: #000000;
JSON
{
  "hex": "#042001",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 1
  },
  "hsl": {
    "h": 114.194,
    "s": 93.939,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21355,
    "c": 0.06693,
    "h": 140.7
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#042001
secondary
#5F1567
accent
#29FFEA
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000400
muted
#777977

Preview Lab

Preview with #042001

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

Preview Lab → · Contrast checker → · Palette generator →

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