#010127#010127

#010127 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.9% C 0.081 H 267.1°. Best body text is #FFFFFF at 20.29:1 contrast (WCAG AA passes).

Color values

HEX#010127
RGBrgb(1, 1, 39)
HSLhsl(240, 95%, 8%)
HSVhsv(240, 97%, 15%)
CMYKcmyk(97.4%, 97.4%, 0%, 84.7%)
CIE-LABlab(1.58, 9.16, -21.86)
CIE-LCHlch(1.58, 23.70, 292.73°)
OKLaboklab(12.92% -0.0041 -0.0812)
OKLCHoklch(12.92% 0.081 267.1)
XYZxyz(0.3895, 0.1746, 1.9322)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010127 #272701
analogous
#011427 #010127 #140127
triadic
#010127 #270101 #012701
tetradic
#010127 #270114 #272701 #012714
square
#010127 #270114 #272701 #012714
split-complementary
#010127 #271401 #142701
monochromatic
#01011E #01011E #010127 #030363 #04049E

Accessibility & contrast

On white

20.29
#010127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#010127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010127
20.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010127#FFFFFF#000000##FFFFFF
##0101271.0020.291.0320.29
#FFFFFF20.291.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000828
Deuteranopia (green-blind)
#000426
Tritanopia (blue-blind)
#000B13
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #010127;
/* rgb */ color: rgb(1, 1, 39);
/* oklch */ color: oklch(12.9% 0.081 267.1);
Tailwind
colors: {
  custom: {
    50: '#474761',
    500: '#010127',
    950: '#000000',
  },
}
SCSS
$custom: #010127;
$custom-light: #474761;
$custom-dark: #000000;
JSON
{
  "hex": "#010127",
  "rgb": {
    "r": 1,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 240,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.12918,
    "c": 0.08135,
    "h": 267.1
  },
  "luminance": 0.00175
}

Semantic roles & 50–950 ramp

primary
#010127
secondary
#6E6E16
accent
#FF29FF
background
#F4F3F5
surface
#E6E5EA
border
#C2C1C6
text
#000005
muted
#777779

Preview Lab

Preview with #010127

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

Preview Lab → · Contrast checker → · Palette generator →

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