#010827#010827

#010827 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.2% C 0.066 H 263.5°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#010827
RGBrgb(1, 8, 39)
HSLhsl(229, 95%, 8%)
HSVhsv(229, 97%, 15%)
CMYKcmyk(97.4%, 79.5%, 0%, 84.7%)
CIE-LABlab(2.95, 6.35, -19.72)
CIE-LCHlch(2.95, 20.72, 287.85°)
OKLaboklab(15.24% -0.0075 -0.0658)
OKLCHoklch(15.24% 0.066 263.5)
XYZxyz(0.4654, 0.3265, 1.9576)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010827 #272001
analogous
#011B27 #010827 #0D0127
triadic
#010827 #270108 #082701
tetradic
#010827 #27011B #272001 #01270D
square
#010827 #27011B #272001 #01270D
split-complementary
#010827 #270D01 #1B2701
monochromatic
#01061E #01061E #010827 #031463 #04209E

Accessibility & contrast

On white

19.71
#010827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#010827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010827
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010827#FFFFFF#000000##FFFFFF
##0108271.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D28
Deuteranopia (green-blind)
#000926
Tritanopia (blue-blind)
#001016
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #010827;
/* rgb */ color: rgb(1, 8, 39);
/* oklch */ color: oklch(15.2% 0.066 263.5);
Tailwind
colors: {
  custom: {
    50: '#474a61',
    500: '#010827',
    950: '#000000',
  },
}
SCSS
$custom: #010827;
$custom-light: #474a61;
$custom-dark: #000000;
JSON
{
  "hex": "#010827",
  "rgb": {
    "r": 1,
    "g": 8,
    "b": 39
  },
  "hsl": {
    "h": 228.947,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.15236,
    "c": 0.06626,
    "h": 263.5
  },
  "luminance": 0.00327
}

Semantic roles & 50–950 ramp

primary
#010827
secondary
#6E5E16
accent
#D829FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000105
muted
#777779

Preview Lab

Preview with #010827

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

Preview Lab → · Contrast checker → · Palette generator →

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