#052801#052801

#052801 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.2% C 0.077 H 140.9°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#052801
RGBrgb(5, 40, 1)
HSLhsl(114, 95%, 8%)
HSVhsv(114, 98%, 16%)
CMYKcmyk(87.5%, 0%, 97.5%, 84.3%)
CIE-LABlab(12.93, -21.88, 18.23)
CIE-LCHlch(12.93, 28.48, 140.21°)
OKLaboklab(24.23% -0.0599 0.0487)
OKLCHoklch(24.23% 0.077 140.9)
XYZxyz(0.8268, 1.5519, 0.2847)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052801 #240128
analogous
#182801 #052801 #012810
triadic
#052801 #010528 #280105
tetradic
#052801 #011828 #240128 #281001
square
#052801 #011828 #240128 #281001
split-complementary
#052801 #100128 #280118
monochromatic
#041E01 #041E01 #052801 #0C6402 #149F04

Accessibility & contrast

On white

16.03
#052801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052801
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052801#FFFFFF#000000##FFFFFF
##0528011.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #052801;
/* rgb */ color: rgb(5, 40, 1);
/* oklch */ color: oklch(24.2% 0.077 140.9);
Tailwind
colors: {
  custom: {
    50: '#4a6247',
    500: '#052801',
    950: '#000000',
  },
}
SCSS
$custom: #052801;
$custom-light: #4a6247;
$custom-dark: #000000;
JSON
{
  "hex": "#052801",
  "rgb": {
    "r": 5,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 113.846,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.2423,
    "c": 0.07721,
    "h": 140.9
  },
  "luminance": 0.01552
}

Semantic roles & 50–950 ramp

primary
#052801
secondary
#66166F
accent
#29FFE9
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #052801

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

Preview Lab → · Contrast checker → · Palette generator →

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