#04391F#04391F

#04391F is a dark, moderate teal. Relative luminance 0.031; OKLCH L 30.4% C 0.071 H 155.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#04391F
RGBrgb(4, 57, 31)
HSLhsl(151, 87%, 12%)
HSVhsv(151, 93%, 22%)
CMYKcmyk(93%, 0%, 45.6%, 77.6%)
CIE-LABlab(20.25, -23.95, 11.62)
CIE-LCHlch(20.25, 26.62, 154.12°)
OKLaboklab(30.43% -0.0645 0.029)
OKLCHoklch(30.43% 0.071 155.8)
XYZxyz(1.7603, 3.0508, 1.7921)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04391F #39041E
analogous
#043905 #04391F #043939
triadic
#04391F #1F0439 #391F04
tetradic
#04391F #050439 #39041E #393904
square
#04391F #050439 #39041E #393904
split-complementary
#04391F #390439 #390504
monochromatic
#021D10 #021D10 #04391F #08723E #0CAB5D

Accessibility & contrast

On white

13.04
#04391F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#04391F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04391F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04391F#FFFFFF#000000##FFFFFF
##04391F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39331D
Deuteranopia (green-blind)
#332F21
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #04391f;
/* rgb */ color: rgb(4, 57, 31);
/* oklch */ color: oklch(30.4% 0.071 155.8);
Tailwind
colors: {
  custom: {
    50: '#4f705a',
    500: '#04391f',
    950: '#000000',
  },
}
SCSS
$custom: #04391f;
$custom-light: #4f705a;
$custom-dark: #000000;
JSON
{
  "hex": "#04391f",
  "rgb": {
    "r": 4,
    "g": 57,
    "b": 31
  },
  "hsl": {
    "h": 150.566,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30431,
    "c": 0.07072,
    "h": 155.8
  },
  "luminance": 0.03051
}

Semantic roles & 50–950 ramp

primary
#04391F
secondary
#7B1E4C
accent
#2B92FD
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #04391F

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

Preview Lab → · Contrast checker → · Palette generator →

#04391F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva