#01122E#01122E

#01122E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.062 H 257.1°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#01122E
RGBrgb(1, 18, 46)
HSLhsl(217, 96%, 9%)
HSVhsv(217, 98%, 18%)
CMYKcmyk(97.8%, 60.9%, 0%, 82%)
CIE-LABlab(5.75, 4.80, -20.60)
CIE-LCHlch(5.75, 21.15, 283.11°)
OKLaboklab(18.7% -0.0139 -0.0606)
OKLCHoklch(18.7% 0.062 257.1)
XYZxyz(0.7218, 0.6362, 2.6690)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01122E #2E1D01
analogous
#01292E #01122E #06012E
triadic
#01122E #2E0112 #122E01
tetradic
#01122E #2E0129 #2E1D01 #012E06
square
#01122E #2E0129 #2E1D01 #012E06
split-complementary
#01122E #2E0601 #292E01
monochromatic
#010C1E #010C1E #01122E #02296A #0441A6

Accessibility & contrast

On white

18.63
#01122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#01122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01122E
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01122E#FFFFFF#000000##FFFFFF
##01122E1.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#00191D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #01122e;
/* rgb */ color: rgb(1, 18, 46);
/* oklch */ color: oklch(18.7% 0.062 257.1);
Tailwind
colors: {
  custom: {
    50: '#494f67',
    500: '#01122e',
    950: '#000000',
  },
}
SCSS
$custom: #01122e;
$custom-light: #494f67;
$custom-dark: #000000;
JSON
{
  "hex": "#01122e",
  "rgb": {
    "r": 1,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 217.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.187,
    "c": 0.06223,
    "h": 257.1
  },
  "luminance": 0.00636
}

Semantic roles & 50–950 ramp

primary
#01122E
secondary
#745117
accent
#AE29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #01122E

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

Preview Lab → · Contrast checker → · Palette generator →

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