#01112C#01112C

#01112C is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.2% C 0.060 H 257.1°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#01112C
RGBrgb(1, 17, 44)
HSLhsl(218, 96%, 9%)
HSVhsv(218, 98%, 17%)
CMYKcmyk(97.7%, 61.4%, 0%, 82.7%)
CIE-LABlab(5.32, 4.40, -19.79)
CIE-LCHlch(5.32, 20.27, 282.54°)
OKLaboklab(18.22% -0.0135 -0.0589)
OKLCHoklch(18.22% 0.06 257.1)
XYZxyz(0.6674, 0.5891, 2.4609)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01112C #2C1C01
analogous
#01272C #01112C #06012C
triadic
#01112C #2C0111 #112C01
tetradic
#01112C #2C0127 #2C1C01 #012C06
square
#01112C #2C0127 #2C1C01 #012C06
split-complementary
#01112C #2C0601 #272C01
monochromatic
#010C1E #010C1E #01112C #022868 #043FA4

Accessibility & contrast

On white

18.79
#01112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01112C
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01112C#FFFFFF#000000##FFFFFF
##01112C1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #01112c;
/* rgb */ color: rgb(1, 17, 44);
/* oklch */ color: oklch(18.2% 0.060 257.1);
Tailwind
colors: {
  custom: {
    50: '#484f65',
    500: '#01112c',
    950: '#000000',
  },
}
SCSS
$custom: #01112c;
$custom-light: #484f65;
$custom-dark: #000000;
JSON
{
  "hex": "#01112c",
  "rgb": {
    "r": 1,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 217.674,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18225,
    "c": 0.0604,
    "h": 257.1
  },
  "luminance": 0.00589
}

Semantic roles & 50–950 ramp

primary
#01112C
secondary
#725017
accent
#AF29FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #01112C

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

Preview Lab → · Contrast checker → · Palette generator →

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