#01122C#01122C

#01122C is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.5% C 0.059 H 255.9°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#01122C
RGBrgb(1, 18, 44)
HSLhsl(216, 96%, 9%)
HSVhsv(216, 98%, 17%)
CMYKcmyk(97.7%, 59.1%, 0%, 82.7%)
CIE-LABlab(5.61, 3.82, -19.33)
CIE-LCHlch(5.61, 19.71, 281.18°)
OKLaboklab(18.51% -0.0143 -0.0571)
OKLCHoklch(18.51% 0.059 255.9)
XYZxyz(0.6833, 0.6208, 2.4662)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01122C #2C1B01
analogous
#01282C #01122C #06012C
triadic
#01122C #2C0112 #122C01
tetradic
#01122C #2C0128 #2C1B01 #012C06
square
#01122C #2C0128 #2C1B01 #012C06
split-complementary
#01122C #2C0601 #282C01
monochromatic
#010C1E #010C1E #01122C #022A68 #0443A4

Accessibility & contrast

On white

18.68
#01122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01122C
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01122C#FFFFFF#000000##FFFFFF
##01122C1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #01122c;
/* rgb */ color: rgb(1, 18, 44);
/* oklch */ color: oklch(18.5% 0.059 255.9);
Tailwind
colors: {
  custom: {
    50: '#484f65',
    500: '#01122c',
    950: '#000000',
  },
}
SCSS
$custom: #01122c;
$custom-light: #484f65;
$custom-dark: #000000;
JSON
{
  "hex": "#01122c",
  "rgb": {
    "r": 1,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 216.279,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1851,
    "c": 0.05887,
    "h": 255.9
  },
  "luminance": 0.00621
}

Semantic roles & 50–950 ramp

primary
#01122C
secondary
#724E17
accent
#AA29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #01122C

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

Preview Lab → · Contrast checker → · Palette generator →

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