#01012B#01012B

#01012B is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.6% C 0.087 H 266.7°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#01012B
RGBrgb(1, 1, 43)
HSLhsl(240, 95%, 9%)
HSVhsv(240, 98%, 17%)
CMYKcmyk(97.7%, 97.7%, 0%, 83.1%)
CIE-LABlab(1.83, 10.93, -24.55)
CIE-LCHlch(1.83, 26.87, 294.00°)
OKLaboklab(13.6% -0.005 -0.0867)
OKLCHoklch(13.6% 0.087 266.7)
XYZxyz(0.4593, 0.2025, 2.2999)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01012B #2B2B01
analogous
#01162B #01012B #16012B
triadic
#01012B #2B0101 #012B01
tetradic
#01012B #2B0116 #2B2B01 #012B16
square
#01012B #2B0116 #2B2B01 #012B16
split-complementary
#01012B #2B1601 #162B01
monochromatic
#01011E #01011E #01012B #020267 #0404A3

Accessibility & contrast

On white

20.18
#01012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#01012B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01012B
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01012B#FFFFFF#000000##FFFFFF
##01012B1.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092C
Deuteranopia (green-blind)
#00052A
Tritanopia (blue-blind)
#000C15
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #01012b;
/* rgb */ color: rgb(1, 1, 43);
/* oklch */ color: oklch(13.6% 0.087 266.7);
Tailwind
colors: {
  custom: {
    50: '#474764',
    500: '#01012b',
    950: '#000000',
  },
}
SCSS
$custom: #01012b;
$custom-light: #474764;
$custom-dark: #000000;
JSON
{
  "hex": "#01012b",
  "rgb": {
    "r": 1,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 240,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.13596,
    "c": 0.08688,
    "h": 266.7
  },
  "luminance": 0.00203
}

Semantic roles & 50–950 ramp

primary
#01012B
secondary
#717117
accent
#FF29FF
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A

Preview Lab

Preview with #01012B

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

Preview Lab → · Contrast checker → · Palette generator →

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