#040E13#040E13

#040E13 is a very dark, near-neutral cyan. Relative luminance 0.004; OKLCH L 15.6% C 0.020 H 228.0°. Best body text is #FFFFFF at 19.49:1 contrast (WCAG AA passes).

Color values

HEX#040E13
RGBrgb(4, 14, 19)
HSLhsl(200, 65%, 5%)
HSVhsv(200, 79%, 7%)
CMYKcmyk(78.9%, 26.3%, 0%, 92.5%)
CIE-LABlab(3.49, -1.77, -3.61)
CIE-LCHlch(3.49, 4.02, 243.90°)
OKLaboklab(15.57% -0.0133 -0.0148)
OKLCHoklch(15.57% 0.02 228)
XYZxyz(0.3246, 0.3869, 0.6735)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040E13 #130904
analogous
#041311 #040E13 #040713
triadic
#040E13 #13040E #0E1304
tetradic
#040E13 #110413 #130904 #071304
square
#040E13 #110413 #130904 #071304
split-complementary
#040E13 #130407 #131104
monochromatic
#051319 #051319 #051319 #0F3346 #195978

Accessibility & contrast

On white

19.49
#040E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#040E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040E13
19.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040E13#FFFFFF#000000##FFFFFF
##040E131.0019.491.0819.49
#FFFFFF19.491.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0E13
Deuteranopia (green-blind)
#090C13
Tritanopia (blue-blind)
#000F10
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #040e13;
/* rgb */ color: rgb(4, 14, 19);
/* oklch */ color: oklch(15.6% 0.020 228.0);
Tailwind
colors: {
  custom: {
    50: '#484d50',
    500: '#040e13',
    950: '#000000',
  },
}
SCSS
$custom: #040e13;
$custom-light: #484d50;
$custom-dark: #000000;
JSON
{
  "hex": "#040e13",
  "rgb": {
    "r": 4,
    "g": 14,
    "b": 19
  },
  "hsl": {
    "h": 200,
    "s": 65.217,
    "l": 4.51
  },
  "oklch": {
    "l": 0.15568,
    "c": 0.01988,
    "h": 228
  },
  "luminance": 0.00387
}

Semantic roles & 50–950 ramp

primary
#040E13
secondary
#54311F
accent
#7840E8
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #040E13

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

Preview Lab → · Contrast checker → · Palette generator →

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