#031B01#031B01

#031B01 is a very dark, moderate green. Relative luminance 0.008; OKLCH L 19.5% C 0.061 H 141.0°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#031B01
RGBrgb(3, 27, 1)
HSLhsl(115, 93%, 5%)
HSVhsv(115, 96%, 11%)
CMYKcmyk(88.9%, 0%, 96.3%, 89.4%)
CIE-LABlab(7.28, -13.54, 10.24)
CIE-LCHlch(7.28, 16.98, 142.91°)
OKLaboklab(19.48% -0.0471 0.0381)
OKLCHoklch(19.48% 0.061 141)
XYZxyz(0.4349, 0.8054, 0.1612)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B01 #19011B
analogous
#101B01 #031B01 #011B0C
triadic
#031B01 #01031B #1B0103
tetradic
#031B01 #01101B #19011B #1B0C01
square
#031B01 #01101B #19011B #1B0C01
split-complementary
#031B01 #0C011B #1B0110
monochromatic
#031E01 #031E01 #031E01 #0A5603 #109105

Accessibility & contrast

On white

18.09
#031B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#031B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B01
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B01#FFFFFF#000000##FFFFFF
##031B011.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1700
Deuteranopia (green-blind)
#191502
Tritanopia (blue-blind)
#011A15
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031b01;
/* rgb */ color: rgb(3, 27, 1);
/* oklch */ color: oklch(19.5% 0.061 141.0);
Tailwind
colors: {
  custom: {
    50: '#475747',
    500: '#031b01',
    950: '#000000',
  },
}
SCSS
$custom: #031b01;
$custom-light: #475747;
$custom-dark: #000000;
JSON
{
  "hex": "#031b01",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 1
  },
  "hsl": {
    "h": 115.385,
    "s": 92.857,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19482,
    "c": 0.06058,
    "h": 141
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#031B01
secondary
#5D1563
accent
#29FFEF
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000300
muted
#777877

Preview Lab

Preview with #031B01

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

Preview Lab → · Contrast checker → · Palette generator →

#031B01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva