#040C10#040C10

#040C10 is a very dark, near-neutral cyan. Relative luminance 0.003; OKLCH L 14.7% C 0.017 H 226.7°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#040C10
RGBrgb(4, 12, 16)
HSLhsl(200, 60%, 4%)
HSVhsv(200, 75%, 6%)
CMYKcmyk(75%, 25%, 0%, 93.7%)
CIE-LABlab(2.95, -1.43, -2.63)
CIE-LCHlch(2.95, 2.99, 241.39°)
OKLaboklab(14.71% -0.0115 -0.0122)
OKLCHoklch(14.71% 0.017 226.7)
XYZxyz(0.2750, 0.3261, 0.5386)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040C10 #100804
analogous
#04100E #040C10 #040610
triadic
#040C10 #10040C #0C1004
tetradic
#040C10 #0E0410 #100804 #061004
square
#040C10 #0E0410 #100804 #061004
split-complementary
#040C10 #100406 #100E04
monochromatic
#061218 #061218 #061218 #103141 #1C5572

Accessibility & contrast

On white

19.71
#040C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#040C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040C10
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040C10#FFFFFF#000000##FFFFFF
##040C101.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0C10
Deuteranopia (green-blind)
#080A10
Tritanopia (blue-blind)
#010D0D
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #040c10;
/* rgb */ color: rgb(4, 12, 16);
/* oklch */ color: oklch(14.7% 0.017 226.7);
Tailwind
colors: {
  custom: {
    50: '#484c4e',
    500: '#040c10',
    950: '#000000',
  },
}
SCSS
$custom: #040c10;
$custom-light: #484c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#040c10",
  "rgb": {
    "r": 4,
    "g": 12,
    "b": 16
  },
  "hsl": {
    "h": 200,
    "s": 60,
    "l": 3.922
  },
  "oklch": {
    "l": 0.14713,
    "c": 0.01682,
    "h": 226.7
  },
  "luminance": 0.00326
}

Semantic roles & 50–950 ramp

primary
#040C10
secondary
#4F3020
accent
#7945E3
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000101
muted
#777777

Preview Lab

Preview with #040C10

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

Preview Lab → · Contrast checker → · Palette generator →

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