#042301#042301

#042301 is a very dark, moderate green. Relative luminance 0.012; OKLCH L 22.4% C 0.071 H 141.0°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#042301
RGBrgb(4, 35, 1)
HSLhsl(115, 94%, 7%)
HSVhsv(115, 97%, 14%)
CMYKcmyk(88.6%, 0%, 97.1%, 86.3%)
CIE-LABlab(10.78, -19.56, 15.27)
CIE-LCHlch(10.78, 24.81, 142.02°)
OKLaboklab(22.43% -0.0552 0.0448)
OKLCHoklch(22.43% 0.071 141)
XYZxyz(0.6565, 1.2300, 0.2315)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042301 #200123
analogous
#152301 #042301 #01230F
triadic
#042301 #010423 #230104
tetradic
#042301 #011523 #200123 #230F01
square
#042301 #011523 #200123 #230F01
split-complementary
#042301 #0F0123 #230115
monochromatic
#031E01 #031E01 #042301 #0B5F03 #129A04

Accessibility & contrast

On white

16.85
#042301 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#042301 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042301
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042301#FFFFFF#000000##FFFFFF
##0423011.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F00
Deuteranopia (green-blind)
#211C03
Tritanopia (blue-blind)
#01211C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #042301;
/* rgb */ color: rgb(4, 35, 1);
/* oklch */ color: oklch(22.4% 0.071 141.0);
Tailwind
colors: {
  custom: {
    50: '#485e47',
    500: '#042301',
    950: '#000000',
  },
}
SCSS
$custom: #042301;
$custom-light: #485e47;
$custom-dark: #000000;
JSON
{
  "hex": "#042301",
  "rgb": {
    "r": 4,
    "g": 35,
    "b": 1
  },
  "hsl": {
    "h": 114.706,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22425,
    "c": 0.07109,
    "h": 141
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#042301
secondary
#63166A
accent
#29FFEC
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000400
muted
#777977

Preview Lab

Preview with #042301

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

Preview Lab → · Contrast checker → · Palette generator →

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