#040A07#040A07

#040A07 is a very dark, near-neutral teal. Relative luminance 0.003; OKLCH L 13.5% C 0.014 H 165.3°. Best body text is #FFFFFF at 19.97:1 contrast (WCAG AA passes).

Color values

HEX#040A07
RGBrgb(4, 10, 7)
HSLhsl(150, 43%, 3%)
HSVhsv(150, 60%, 4%)
CMYKcmyk(60%, 0%, 30%, 96.1%)
CIE-LABlab(2.33, -1.99, 0.58)
CIE-LCHlch(2.33, 2.07, 163.66°)
OKLaboklab(13.54% -0.0137 0.0036)
OKLCHoklch(13.54% 0.014 165.3)
XYZxyz(0.1969, 0.2582, 0.2404)
Luminance0.0026 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040A07 #0A0407
analogous
#040A04 #040A07 #040A0A
triadic
#040A07 #07040A #0A0704
tetradic
#040A07 #04040A #0A0407 #0A0A04
square
#040A07 #04040A #0A0407 #0A0A04
split-complementary
#040A07 #0A040A #0A0404
monochromatic
#09160F #09160F #09160F #153626 #276144

Accessibility & contrast

On white

19.97
#040A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#040A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040A07
19.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040A07#FFFFFF#000000##FFFFFF
##040A071.0019.971.0519.97
#FFFFFF19.971.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0907
Deuteranopia (green-blind)
#080807
Tritanopia (blue-blind)
#030A09
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #040a07;
/* rgb */ color: rgb(4, 10, 7);
/* oklch */ color: oklch(13.5% 0.014 165.3);
Tailwind
colors: {
  custom: {
    50: '#484b4a',
    500: '#040a07',
    950: '#000000',
  },
}
SCSS
$custom: #040a07;
$custom-light: #484b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#040a07",
  "rgb": {
    "r": 4,
    "g": 10,
    "b": 7
  },
  "hsl": {
    "h": 150,
    "s": 42.857,
    "l": 2.745
  },
  "oklch": {
    "l": 0.13544,
    "c": 0.01412,
    "h": 165.3
  },
  "luminance": 0.00258
}

Semantic roles & 50–950 ramp

primary
#040A07
secondary
#452535
accent
#5594D3
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040A07

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

Preview Lab → · Contrast checker → · Palette generator →

#040A07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva