#041F17#041F17

#041F17 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.6% C 0.037 H 170.3°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#041F17
RGBrgb(4, 31, 23)
HSLhsl(162, 77%, 7%)
HSVhsv(162, 87%, 12%)
CMYKcmyk(87.1%, 0%, 25.8%, 87.8%)
CIE-LABlab(9.54, -12.68, 2.44)
CIE-LCHlch(9.54, 12.91, 169.12°)
OKLaboklab(21.55% -0.0366 0.0062)
OKLCHoklch(21.55% 0.037 170.3)
XYZxyz(0.6946, 1.0676, 0.9799)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#041F17 #1F040C
analogous
#041F0A #041F17 #041A1F
triadic
#041F17 #17041F #1F1704
tetradic
#041F17 #0A041F #1F040C #1A1F04
square
#041F17 #0A041F #1F040C #1A1F04
split-complementary
#041F17 #1F041A #1F0A04
monochromatic
#031B14 #031B14 #041F17 #0B553F #128B67

Accessibility & contrast

On white

17.30
#041F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#041F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #041F17
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##041F17#FFFFFF#000000##FFFFFF
##041F171.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C17
Deuteranopia (green-blind)
#1A1918
Tritanopia (blue-blind)
#001F1D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #041f17;
/* rgb */ color: rgb(4, 31, 23);
/* oklch */ color: oklch(21.6% 0.037 170.3);
Tailwind
colors: {
  custom: {
    50: '#485a53',
    500: '#041f17',
    950: '#000000',
  },
}
SCSS
$custom: #041f17;
$custom-light: #485a53;
$custom-dark: #000000;
JSON
{
  "hex": "#041f17",
  "rgb": {
    "r": 4,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 162.222,
    "s": 77.143,
    "l": 6.863
  },
  "oklch": {
    "l": 0.21554,
    "c": 0.03711,
    "h": 170.3
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#041F17
secondary
#621D31
accent
#346DF4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #041F17

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

Preview Lab → · Contrast checker → · Palette generator →

#041F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva