#01112A#01112A

#01112A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.0% C 0.057 H 255.9°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#01112A
RGBrgb(1, 17, 42)
HSLhsl(217, 95%, 8%)
HSVhsv(217, 98%, 16%)
CMYKcmyk(97.6%, 59.5%, 0%, 83.5%)
CIE-LABlab(5.19, 3.47, -18.49)
CIE-LCHlch(5.19, 18.82, 280.63°)
OKLaboklab(18.03% -0.0139 -0.0553)
OKLCHoklch(18.03% 0.057 255.9)
XYZxyz(0.6307, 0.5744, 2.2677)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01112A #2A1A01
analogous
#01252A #01112A #05012A
triadic
#01112A #2A0111 #112A01
tetradic
#01112A #2A0125 #2A1A01 #012A05
square
#01112A #2A0125 #2A1A01 #012A05
split-complementary
#01112A #2A0501 #252A01
monochromatic
#010C1E #010C1E #01112A #022966 #0441A2

Accessibility & contrast

On white

18.83
#01112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#01112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01112A
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01112A#FFFFFF#000000##FFFFFF
##01112A1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04132B
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#00171B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #01112a;
/* rgb */ color: rgb(1, 17, 42);
/* oklch */ color: oklch(18.0% 0.057 255.9);
Tailwind
colors: {
  custom: {
    50: '#484f63',
    500: '#01112a',
    950: '#000000',
  },
}
SCSS
$custom: #01112a;
$custom-light: #484f63;
$custom-dark: #000000;
JSON
{
  "hex": "#01112a",
  "rgb": {
    "r": 1,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 216.585,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18034,
    "c": 0.05701,
    "h": 255.9
  },
  "luminance": 0.00575
}

Semantic roles & 50–950 ramp

primary
#01112A
secondary
#704D16
accent
#AB29FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #01112A

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

Preview Lab → · Contrast checker → · Palette generator →

#01112A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva