#01042D#01042D

#01042D is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.9% C 0.083 H 265.9°. Best body text is #FFFFFF at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#01042D
RGBrgb(1, 4, 45)
HSLhsl(236, 96%, 9%)
HSVhsv(236, 98%, 18%)
CMYKcmyk(97.8%, 91.1%, 0%, 82.4%)
CIE-LABlab(2.55, 10.68, -24.92)
CIE-LCHlch(2.55, 27.11, 293.20°)
OKLaboklab(14.89% -0.006 -0.083)
OKLCHoklch(14.89% 0.083 265.9)
XYZxyz(0.5294, 0.2827, 2.5088)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01042D #2D2A01
analogous
#011A2D #01042D #14012D
triadic
#01042D #2D0104 #042D01
tetradic
#01042D #2D011A #2D2A01 #012D14
square
#01042D #2D011A #2D2A01 #012D14
split-complementary
#01042D #2D1401 #1A2D01
monochromatic
#01031E #01031E #01042D #020969 #040FA5

Accessibility & contrast

On white

19.88
#01042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#01042D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01042D
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01042D#FFFFFF#000000##FFFFFF
##01042D1.0019.881.0619.88
#FFFFFF19.881.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2E
Deuteranopia (green-blind)
#00072C
Tritanopia (blue-blind)
#001017
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #01042d;
/* rgb */ color: rgb(1, 4, 45);
/* oklch */ color: oklch(14.9% 0.083 265.9);
Tailwind
colors: {
  custom: {
    50: '#484866',
    500: '#01042d',
    950: '#000000',
  },
}
SCSS
$custom: #01042d;
$custom-light: #484866;
$custom-dark: #000000;
JSON
{
  "hex": "#01042d",
  "rgb": {
    "r": 1,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 235.909,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.14886,
    "c": 0.08324,
    "h": 265.9
  },
  "luminance": 0.00283
}

Semantic roles & 50–950 ramp

primary
#01042D
secondary
#736D17
accent
#F029FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #01042D

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

Preview Lab → · Contrast checker → · Palette generator →

#01042D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva