#01122B#01122B

#01122B is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.4% C 0.057 H 255.2°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#01122B
RGBrgb(1, 18, 43)
HSLhsl(216, 95%, 9%)
HSVhsv(216, 98%, 17%)
CMYKcmyk(97.7%, 58.1%, 0%, 83.1%)
CIE-LABlab(5.54, 3.35, -18.69)
CIE-LCHlch(5.54, 18.99, 280.15°)
OKLaboklab(18.42% -0.0146 -0.0553)
OKLCHoklch(18.42% 0.057 255.2)
XYZxyz(0.6647, 0.6134, 2.3684)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01122B #2B1A01
analogous
#01272B #01122B #05012B
triadic
#01122B #2B0112 #122B01
tetradic
#01122B #2B0127 #2B1A01 #012B05
square
#01122B #2B0127 #2B1A01 #012B05
split-complementary
#01122B #2B0501 #272B01
monochromatic
#010D1E #010D1E #01122B #022B67 #0444A3

Accessibility & contrast

On white

18.71
#01122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01122B
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01122B#FFFFFF#000000##FFFFFF
##01122B1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #01122b;
/* rgb */ color: rgb(1, 18, 43);
/* oklch */ color: oklch(18.4% 0.057 255.2);
Tailwind
colors: {
  custom: {
    50: '#484f64',
    500: '#01122b',
    950: '#000000',
  },
}
SCSS
$custom: #01122b;
$custom-light: #484f64;
$custom-dark: #000000;
JSON
{
  "hex": "#01122b",
  "rgb": {
    "r": 1,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 215.714,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18416,
    "c": 0.05718,
    "h": 255.2
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#01122B
secondary
#714D17
accent
#A829FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #01122B

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

Preview Lab → · Contrast checker → · Palette generator →

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