#01012C#01012C

#01012C is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.8% C 0.088 H 266.6°. Best body text is #FFFFFF at 20.15:1 contrast (WCAG AA passes).

Color values

HEX#01012C
RGBrgb(1, 1, 44)
HSLhsl(240, 96%, 9%)
HSVhsv(240, 98%, 17%)
CMYKcmyk(97.7%, 97.7%, 0%, 82.7%)
CIE-LABlab(1.90, 11.40, -25.20)
CIE-LCHlch(1.90, 27.66, 294.34°)
OKLaboklab(13.77% -0.0053 -0.0881)
OKLCHoklch(13.77% 0.088 266.6)
XYZxyz(0.4778, 0.2099, 2.3977)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01012C #2C2C01
analogous
#01172C #01012C #17012C
triadic
#01012C #2C0101 #012C01
tetradic
#01012C #2C0117 #2C2C01 #012C17
square
#01012C #2C0117 #2C2C01 #012C17
split-complementary
#01012C #2C1701 #172C01
monochromatic
#01011E #01011E #01012C #020268 #0404A4

Accessibility & contrast

On white

20.15
#01012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01012C
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01012C#FFFFFF#000000##FFFFFF
##01012C1.0020.151.0420.15
#FFFFFF20.151.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092D
Deuteranopia (green-blind)
#00052B
Tritanopia (blue-blind)
#000D16
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #01012c;
/* rgb */ color: rgb(1, 1, 44);
/* oklch */ color: oklch(13.8% 0.088 266.6);
Tailwind
colors: {
  custom: {
    50: '#484765',
    500: '#01012c',
    950: '#000000',
  },
}
SCSS
$custom: #01012c;
$custom-light: #484765;
$custom-dark: #000000;
JSON
{
  "hex": "#01012c",
  "rgb": {
    "r": 1,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 240,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.13766,
    "c": 0.08823,
    "h": 266.6
  },
  "luminance": 0.0021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #01012C

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

Preview Lab → · Contrast checker → · Palette generator →

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