#010818#010818

#010818 is a very dark, muted blue. Relative luminance 0.002; OKLCH L 13.6% C 0.040 H 256.4°. Best body text is #FFFFFF at 20.02:1 contrast (WCAG AA passes).

Color values

HEX#010818
RGBrgb(1, 8, 24)
HSLhsl(222, 92%, 5%)
HSVhsv(222, 96%, 9%)
CMYKcmyk(95.8%, 66.7%, 0%, 90.6%)
CIE-LABlab(2.22, 1.24, -9.01)
CIE-LCHlch(2.22, 9.09, 277.87°)
OKLaboklab(13.58% -0.0093 -0.0385)
OKLCHoklch(13.58% 0.04 256.4)
XYZxyz(0.2642, 0.2460, 0.8975)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010818 #181101
analogous
#011418 #010818 #050118
triadic
#010818 #180108 #081801
tetradic
#010818 #180114 #181101 #011805
square
#010818 #180114 #181101 #011805
split-complementary
#010818 #180501 #141801
monochromatic
#010A1D #010A1D #010A1D #031C53 #062F8E

Accessibility & contrast

On white

20.02
#010818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#010818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010818
20.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010818#FFFFFF#000000##FFFFFF
##0108181.0020.021.0520.02
#FFFFFF20.021.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020919
Deuteranopia (green-blind)
#000718
Tritanopia (blue-blind)
#000C0E
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #010818;
/* rgb */ color: rgb(1, 8, 24);
/* oklch */ color: oklch(13.6% 0.040 256.4);
Tailwind
colors: {
  custom: {
    50: '#474a54',
    500: '#010818',
    950: '#000000',
  },
}
SCSS
$custom: #010818;
$custom-light: #474a54;
$custom-dark: #000000;
JSON
{
  "hex": "#010818",
  "rgb": {
    "r": 1,
    "g": 8,
    "b": 24
  },
  "hsl": {
    "h": 221.739,
    "s": 92,
    "l": 4.902
  },
  "oklch": {
    "l": 0.13578,
    "c": 0.03957,
    "h": 256.4
  },
  "luminance": 0.00246
}

Semantic roles & 50–950 ramp

primary
#010818
secondary
#604915
accent
#BE29FF
background
#F3F4F4
surface
#E5E7E7
border
#C1C3C3
text
#000102
muted
#777778

Preview Lab

Preview with #010818

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

Preview Lab → · Contrast checker → · Palette generator →

#010818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva