#042017#042017

#042017 is a very dark, muted teal. Relative luminance 0.011; OKLCH L 21.9% C 0.039 H 168.5°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#042017
RGBrgb(4, 32, 23)
HSLhsl(161, 78%, 7%)
HSVhsv(161, 88%, 13%)
CMYKcmyk(87.5%, 0%, 28.1%, 87.5%)
CIE-LABlab(9.96, -13.38, 3.03)
CIE-LCHlch(9.96, 13.72, 167.24°)
OKLaboklab(21.9% -0.038 0.0078)
OKLCHoklch(21.9% 0.039 168.5)
XYZxyz(0.7212, 1.1206, 0.9887)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042017 #20040D
analogous
#042009 #042017 #041B20
triadic
#042017 #170420 #201704
tetradic
#042017 #090420 #20040D #1B2004
square
#042017 #090420 #20040D #1B2004
split-complementary
#042017 #20041B #200904
monochromatic
#031B14 #031B14 #042017 #0B563E #128D65

Accessibility & contrast

On white

17.15
#042017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#042017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042017
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042017#FFFFFF#000000##FFFFFF
##0420171.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D17
Deuteranopia (green-blind)
#1B1A18
Tritanopia (blue-blind)
#00201D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #042017;
/* rgb */ color: rgb(4, 32, 23);
/* oklch */ color: oklch(21.9% 0.039 168.5);
Tailwind
colors: {
  custom: {
    50: '#485b53',
    500: '#042017',
    950: '#000000',
  },
}
SCSS
$custom: #042017;
$custom-light: #485b53;
$custom-dark: #000000;
JSON
{
  "hex": "#042017",
  "rgb": {
    "r": 4,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 160.714,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21895,
    "c": 0.03874,
    "h": 168.5
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#042017
secondary
#631D33
accent
#3471F4
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #042017

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

Preview Lab → · Contrast checker → · Palette generator →

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