#01122A#01122A

#01122A is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.3% C 0.055 H 254.5°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#01122A
RGBrgb(1, 18, 42)
HSLhsl(215, 95%, 8%)
HSVhsv(215, 98%, 16%)
CMYKcmyk(97.6%, 57.1%, 0%, 83.5%)
CIE-LABlab(5.47, 2.89, -18.04)
CIE-LCHlch(5.47, 18.27, 279.10°)
OKLaboklab(18.32% -0.0148 -0.0535)
OKLCHoklch(18.32% 0.055 254.5)
XYZxyz(0.6466, 0.6061, 2.2730)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01122A #2A1901
analogous
#01262A #01122A #04012A
triadic
#01122A #2A0112 #122A01
tetradic
#01122A #2A0126 #2A1901 #012A04
square
#01122A #2A0126 #2A1901 #012A04
split-complementary
#01122A #2A0401 #262A01
monochromatic
#010D1E #010D1E #01122A #022C66 #0445A2

Accessibility & contrast

On white

18.73
#01122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01122A
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01122A#FFFFFF#000000##FFFFFF
##01122A1.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06142B
Deuteranopia (green-blind)
#00102A
Tritanopia (blue-blind)
#00181B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #01122a;
/* rgb */ color: rgb(1, 18, 42);
/* oklch */ color: oklch(18.3% 0.055 254.5);
Tailwind
colors: {
  custom: {
    50: '#484f63',
    500: '#01122a',
    950: '#000000',
  },
}
SCSS
$custom: #01122a;
$custom-light: #484f63;
$custom-dark: #000000;
JSON
{
  "hex": "#01122a",
  "rgb": {
    "r": 1,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 215.122,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18324,
    "c": 0.05549,
    "h": 254.5
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#01122A
secondary
#704B16
accent
#A629FF
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #01122A

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

Preview Lab → · Contrast checker → · Palette generator →

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