#01012D#01012D

#01012D is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.9% C 0.090 H 266.5°. Best body text is #FFFFFF at 20.12:1 contrast (WCAG AA passes).

Color values

HEX#01012D
RGBrgb(1, 1, 45)
HSLhsl(240, 96%, 9%)
HSVhsv(240, 98%, 18%)
CMYKcmyk(97.8%, 97.8%, 0%, 82.4%)
CIE-LABlab(1.97, 11.88, -25.85)
CIE-LCHlch(1.97, 28.45, 294.68°)
OKLaboklab(13.94% -0.0055 -0.0894)
OKLCHoklch(13.94% 0.09 266.5)
XYZxyz(0.4969, 0.2176, 2.4979)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01012D #2D2D01
analogous
#01172D #01012D #17012D
triadic
#01012D #2D0101 #012D01
tetradic
#01012D #2D0117 #2D2D01 #012D17
square
#01012D #2D0117 #2D2D01 #012D17
split-complementary
#01012D #2D1701 #172D01
monochromatic
#01011E #01011E #01012D #020269 #0404A5

Accessibility & contrast

On white

20.12
#01012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01012D
20.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01012D#FFFFFF#000000##FFFFFF
##01012D1.0020.121.0420.12
#FFFFFF20.121.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #01012d;
/* rgb */ color: rgb(1, 1, 45);
/* oklch */ color: oklch(13.9% 0.090 266.5);
Tailwind
colors: {
  custom: {
    50: '#484766',
    500: '#01012d',
    950: '#000000',
  },
}
SCSS
$custom: #01012d;
$custom-light: #484766;
$custom-dark: #000000;
JSON
{
  "hex": "#01012d",
  "rgb": {
    "r": 1,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 240,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.13935,
    "c": 0.08958,
    "h": 266.5
  },
  "luminance": 0.00218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #01012D

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

Preview Lab → · Contrast checker → · Palette generator →

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