#01122F#01122F

#01122F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.064 H 257.6°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#01122F
RGBrgb(1, 18, 47)
HSLhsl(218, 96%, 9%)
HSVhsv(218, 98%, 18%)
CMYKcmyk(97.9%, 61.7%, 0%, 81.6%)
CIE-LABlab(5.82, 5.30, -21.23)
CIE-LCHlch(5.82, 21.88, 284.02°)
OKLaboklab(18.8% -0.0137 -0.0624)
OKLCHoklch(18.8% 0.064 257.6)
XYZxyz(0.7417, 0.6442, 2.7740)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01122F #2F1E01
analogous
#01292F #01122F #07012F
triadic
#01122F #2F0112 #122F01
tetradic
#01122F #2F0129 #2F1E01 #012F07
square
#01122F #2F0129 #2F1E01 #012F07
split-complementary
#01122F #2F0701 #292F01
monochromatic
#010B1E #010B1E #01122F #02296B #0440A7

Accessibility & contrast

On white

18.60
#01122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01122F
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01122F#FFFFFF#000000##FFFFFF
##01122F1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #01122f;
/* rgb */ color: rgb(1, 18, 47);
/* oklch */ color: oklch(18.8% 0.064 257.6);
Tailwind
colors: {
  custom: {
    50: '#494f68',
    500: '#01122f',
    950: '#000000',
  },
}
SCSS
$custom: #01122f;
$custom-light: #494f68;
$custom-dark: #000000;
JSON
{
  "hex": "#01122f",
  "rgb": {
    "r": 1,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 217.826,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18797,
    "c": 0.0639,
    "h": 257.6
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#01122F
secondary
#755217
accent
#B029FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #01122F

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

Preview Lab → · Contrast checker → · Palette generator →

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