#01112F#01112F

#01112F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.065 H 258.6°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#01112F
RGBrgb(1, 17, 47)
HSLhsl(219, 96%, 9%)
HSVhsv(219, 98%, 18%)
CMYKcmyk(97.9%, 63.8%, 0%, 81.6%)
CIE-LABlab(5.53, 5.89, -21.69)
CIE-LCHlch(5.53, 22.47, 285.19°)
OKLaboklab(18.52% -0.0129 -0.0641)
OKLCHoklch(18.52% 0.065 258.6)
XYZxyz(0.7259, 0.6125, 2.7687)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01112F #2F1F01
analogous
#01282F #01112F #08012F
triadic
#01112F #2F0111 #112F01
tetradic
#01112F #2F0128 #2F1F01 #012F08
square
#01112F #2F0128 #2F1F01 #012F08
split-complementary
#01112F #2F0801 #282F01
monochromatic
#010B1E #010B1E #01112F #02276B #043CA7

Accessibility & contrast

On white

18.71
#01112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01112F
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01112F#FFFFFF#000000##FFFFFF
##01112F1.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)
#001530
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#00181D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #01112f;
/* rgb */ color: rgb(1, 17, 47);
/* oklch */ color: oklch(18.5% 0.065 258.6);
Tailwind
colors: {
  custom: {
    50: '#494f68',
    500: '#01112f',
    950: '#000000',
  },
}
SCSS
$custom: #01112f;
$custom-light: #494f68;
$custom-dark: #000000;
JSON
{
  "hex": "#01112f",
  "rgb": {
    "r": 1,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 219.13,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18521,
    "c": 0.06544,
    "h": 258.6
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#01112F
secondary
#755417
accent
#B429FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #01112F

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

Preview Lab → · Contrast checker → · Palette generator →

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