#01041B#01041B

#01041B is a very dark, muted blue. Relative luminance 0.002; OKLCH L 12.4% C 0.054 H 265.8°. Best body text is #FFFFFF at 20.30:1 contrast (WCAG AA passes).

Color values

HEX#01041B
RGBrgb(1, 4, 27)
HSLhsl(233, 93%, 5%)
HSVhsv(233, 96%, 11%)
CMYKcmyk(96.3%, 85.2%, 0%, 89.4%)
CIE-LABlab(1.56, 3.68, -12.39)
CIE-LCHlch(1.56, 12.92, 286.55°)
OKLaboklab(12.35% -0.004 -0.0541)
OKLCHoklch(12.35% 0.054 265.8)
XYZxyz(0.2537, 0.1724, 1.0566)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01041B #1B1801
analogous
#01111B #01041B #0B011B
triadic
#01041B #1B0104 #041B01
tetradic
#01041B #1B0111 #1B1801 #011B0B
square
#01041B #1B0111 #1B1801 #011B0B
split-complementary
#01041B #1B0B01 #111B01
monochromatic
#01041E #01041E #01041E #030D56 #051591

Accessibility & contrast

On white

20.30
#01041B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#01041B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01041B
20.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01041B#FFFFFF#000000##FFFFFF
##01041B1.0020.301.0320.30
#FFFFFF20.301.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00071C
Deuteranopia (green-blind)
#00051B
Tritanopia (blue-blind)
#00090D
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #01041b;
/* rgb */ color: rgb(1, 4, 27);
/* oklch */ color: oklch(12.4% 0.054 265.8);
Tailwind
colors: {
  custom: {
    50: '#464857',
    500: '#01041b',
    950: '#000000',
  },
}
SCSS
$custom: #01041b;
$custom-light: #464857;
$custom-dark: #000000;
JSON
{
  "hex": "#01041b",
  "rgb": {
    "r": 1,
    "g": 4,
    "b": 27
  },
  "hsl": {
    "h": 233.077,
    "s": 92.857,
    "l": 5.49
  },
  "oklch": {
    "l": 0.12352,
    "c": 0.05425,
    "h": 265.8
  },
  "luminance": 0.00172
}

Semantic roles & 50–950 ramp

primary
#01041B
secondary
#635A15
accent
#E629FF
background
#F3F4F5
surface
#E5E6E9
border
#C1C2C5
text
#000003
muted
#767778

Preview Lab

Preview with #01041B

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

Preview Lab → · Contrast checker → · Palette generator →

#01041B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva