#040607#040607

#040607 is a very dark, near-neutral cyan. Relative luminance 0.002; OKLCH L 11.9% C 0.006 H 225.6°. Best body text is #FFFFFF at 20.31:1 contrast (WCAG AA passes).

Color values

HEX#040607
RGBrgb(4, 6, 7)
HSLhsl(200, 27%, 2%)
HSVhsv(200, 43%, 3%)
CMYKcmyk(42.9%, 14.3%, 0%, 97.3%)
CIE-LABlab(1.55, -0.39, -0.56)
CIE-LCHlch(1.55, 0.68, 235.61°)
OKLaboklab(11.92% -0.0042 -0.0043)
OKLCHoklch(11.92% 0.006 225.6)
XYZxyz(0.1535, 0.1714, 0.2260)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040607 #070504
analogous
#040707 #040607 #040507
triadic
#040607 #070406 #060704
tetradic
#040607 #070407 #070504 #050704
square
#040607 #070407 #070504 #050704
split-complementary
#040607 #070405 #070704
monochromatic
#0B1113 #0B1113 #0B1113 #1A272E #314955

Accessibility & contrast

On white

20.31
#040607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#040607 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040607
20.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040607#FFFFFF#000000##FFFFFF
##0406071.0020.311.0320.31
#FFFFFF20.311.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050607
Deuteranopia (green-blind)
#050507
Tritanopia (blue-blind)
#030606
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #040607;
/* rgb */ color: rgb(4, 6, 7);
/* oklch */ color: oklch(11.9% 0.006 225.6);
Tailwind
colors: {
  custom: {
    50: '#48494a',
    500: '#040607',
    950: '#000000',
  },
}
SCSS
$custom: #040607;
$custom-light: #48494a;
$custom-dark: #000000;
JSON
{
  "hex": "#040607",
  "rgb": {
    "r": 4,
    "g": 6,
    "b": 7
  },
  "hsl": {
    "h": 200,
    "s": 27.273,
    "l": 2.157
  },
  "oklch": {
    "l": 0.11922,
    "c": 0.00599,
    "h": 225.6
  },
  "luminance": 0.00171
}

Semantic roles & 50–950 ramp

primary
#040607
secondary
#3D302A
accent
#8464C4
background
#F4F4F4
surface
#E6E6E7
border
#C2C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #040607

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

Preview Lab → · Contrast checker → · Palette generator →

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