#0D381F#0D381F

#0D381F is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.4% C 0.065 H 153.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#0D381F
RGBrgb(13, 56, 31)
HSLhsl(145, 62%, 14%)
HSVhsv(145, 77%, 22%)
CMYKcmyk(76.8%, 0%, 44.6%, 78%)
CIE-LABlab(20.09, -21.63, 11.46)
CIE-LCHlch(20.09, 24.48, 152.09°)
OKLaboklab(30.37% -0.0585 0.0286)
OKLCHoklch(30.37% 0.065 153.9)
XYZxyz(1.8273, 3.0126, 1.7813)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D381F #380D26
analogous
#10380D #0D381F #0D3834
triadic
#0D381F #1F0D38 #381F0D
tetradic
#0D381F #0D1038 #380D26 #38340D
square
#0D381F #0D1038 #380D26 #38340D
split-complementary
#0D381F #340D38 #380D10
monochromatic
#06190E #06190E #0D381F #196A3A #249B56

Accessibility & contrast

On white

13.10
#0D381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0D381F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D381F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D381F#FFFFFF#000000##FFFFFF
##0D381F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#322F21
Tritanopia (blue-blind)
#003732
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0d381f;
/* rgb */ color: rgb(13, 56, 31);
/* oklch */ color: oklch(30.4% 0.065 153.9);
Tailwind
colors: {
  custom: {
    50: '#526f5a',
    500: '#0d381f',
    950: '#000000',
  },
}
SCSS
$custom: #0d381f;
$custom-light: #526f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d381f",
  "rgb": {
    "r": 13,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 145.116,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30374,
    "c": 0.06512,
    "h": 153.9
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#0D381F
secondary
#732D56
accent
#42A1E5
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0D381F

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

Preview Lab → · Contrast checker → · Palette generator →

#0D381F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva