#01012E#01012E

#01012E is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.1% C 0.091 H 266.4°. Best body text is #FFFFFF at 20.10:1 contrast (WCAG AA passes).

Color values

HEX#01012E
RGBrgb(1, 1, 46)
HSLhsl(240, 96%, 9%)
HSVhsv(240, 98%, 18%)
CMYKcmyk(97.8%, 97.8%, 0%, 82%)
CIE-LABlab(2.04, 12.37, -26.50)
CIE-LCHlch(2.04, 29.25, 295.03°)
OKLaboklab(14.1% -0.0057 -0.0907)
OKLCHoklch(14.1% 0.091 266.4)
XYZxyz(0.5163, 0.2254, 2.6005)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01012E #2E2E01
analogous
#01182E #01012E #18012E
triadic
#01012E #2E0101 #012E01
tetradic
#01012E #2E0118 #2E2E01 #012E18
square
#01012E #2E0118 #2E2E01 #012E18
split-complementary
#01012E #2E1801 #182E01
monochromatic
#01011E #01011E #01012E #02026A #0404A6

Accessibility & contrast

On white

20.10
#01012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#01012E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01012E
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01012E#FFFFFF#000000##FFFFFF
##01012E1.0020.101.0520.10
#FFFFFF20.101.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A2F
Deuteranopia (green-blind)
#00052D
Tritanopia (blue-blind)
#000E17
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #01012e;
/* rgb */ color: rgb(1, 1, 46);
/* oklch */ color: oklch(14.1% 0.091 266.4);
Tailwind
colors: {
  custom: {
    50: '#484767',
    500: '#01012e',
    950: '#000000',
  },
}
SCSS
$custom: #01012e;
$custom-light: #484767;
$custom-dark: #000000;
JSON
{
  "hex": "#01012e",
  "rgb": {
    "r": 1,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.14104,
    "c": 0.09093,
    "h": 266.4
  },
  "luminance": 0.00225
}

Semantic roles & 50–950 ramp

primary
#01012E
secondary
#747417
accent
#FF29FF
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #01012E

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

Preview Lab → · Contrast checker → · Palette generator →

#01012E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva