#01122D#01122D

#01122D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.061 H 256.5°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#01122D
RGBrgb(1, 18, 45)
HSLhsl(217, 96%, 9%)
HSVhsv(217, 98%, 18%)
CMYKcmyk(97.8%, 60%, 0%, 82.4%)
CIE-LABlab(5.68, 4.30, -19.97)
CIE-LCHlch(5.68, 20.43, 282.16°)
OKLaboklab(18.6% -0.0141 -0.0589)
OKLCHoklch(18.6% 0.061 256.5)
XYZxyz(0.7023, 0.6284, 2.5664)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01122D #2D1C01
analogous
#01282D #01122D #06012D
triadic
#01122D #2D0112 #122D01
tetradic
#01122D #2D0128 #2D1C01 #012D06
square
#01122D #2D0128 #2D1C01 #012D06
split-complementary
#01122D #2D0601 #282D01
monochromatic
#010C1E #010C1E #01122D #022A69 #0442A5

Accessibility & contrast

On white

18.65
#01122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01122D
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01122D#FFFFFF#000000##FFFFFF
##01122D1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #01122d;
/* rgb */ color: rgb(1, 18, 45);
/* oklch */ color: oklch(18.6% 0.061 256.5);
Tailwind
colors: {
  custom: {
    50: '#484f66',
    500: '#01122d',
    950: '#000000',
  },
}
SCSS
$custom: #01122d;
$custom-light: #484f66;
$custom-dark: #000000;
JSON
{
  "hex": "#01122d",
  "rgb": {
    "r": 1,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 216.818,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.18604,
    "c": 0.06054,
    "h": 256.5
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#01122D
secondary
#734F17
accent
#AC29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #01122D

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

Preview Lab → · Contrast checker → · Palette generator →

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