#01040F#01040F

#01040F is a very dark, muted blue. Relative luminance 0.001; OKLCH L 10.9% C 0.031 H 260.7°. Best body text is #FFFFFF at 20.48:1 contrast (WCAG AA passes).

Color values

HEX#01040F
RGBrgb(1, 4, 15)
HSLhsl(227, 88%, 3%)
HSVhsv(227, 93%, 6%)
CMYKcmyk(93.3%, 73.3%, 0%, 94.1%)
CIE-LABlab(1.15, 0.85, -4.72)
CIE-LCHlch(1.15, 4.79, 280.16°)
OKLaboklab(10.95% -0.0051 -0.0311)
OKLCHoklch(10.95% 0.031 260.7)
XYZxyz(0.1421, 0.1278, 0.4690)
Luminance0.0013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01040F #0F0C01
analogous
#010B0F #01040F #05010F
triadic
#01040F #0F0104 #040F01
tetradic
#01040F #0F010B #0F0C01 #010F05
square
#01040F #0F010B #0F0C01 #010F05
split-complementary
#01040F #0F0501 #0B0F01
monochromatic
#02081D #02081D #02081D #051348 #092382

Accessibility & contrast

On white

20.48
#01040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#01040F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01040F
20.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01040F#FFFFFF#000000##FFFFFF
##01040F1.0020.481.0320.48
#FFFFFF20.481.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01050F
Deuteranopia (green-blind)
#00040F
Tritanopia (blue-blind)
#000608
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #01040f;
/* rgb */ color: rgb(1, 4, 15);
/* oklch */ color: oklch(10.9% 0.031 260.7);
Tailwind
colors: {
  custom: {
    50: '#47484e',
    500: '#01040f',
    950: '#000000',
  },
}
SCSS
$custom: #01040f;
$custom-light: #47484e;
$custom-dark: #000000;
JSON
{
  "hex": "#01040f",
  "rgb": {
    "r": 1,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 227.143,
    "s": 87.5,
    "l": 3.137
  },
  "oklch": {
    "l": 0.10945,
    "c": 0.03149,
    "h": 260.7
  },
  "luminance": 0.00128
}

Semantic roles & 50–950 ramp

primary
#01040F
secondary
#574915
accent
#D02AFE
background
#F3F4F4
surface
#E5E6E7
border
#C1C2C3
text
#000001
muted
#777777

Preview Lab

Preview with #01040F

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

Preview Lab → · Contrast checker → · Palette generator →

#01040F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva