#010126#010126

#010126 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 12.7% C 0.080 H 267.2°. Best body text is #FFFFFF at 20.32:1 contrast (WCAG AA passes).

Color values

HEX#010126
RGBrgb(1, 1, 38)
HSLhsl(240, 95%, 8%)
HSVhsv(240, 97%, 15%)
CMYKcmyk(97.4%, 97.4%, 0%, 85.1%)
CIE-LABlab(1.52, 8.74, -21.18)
CIE-LCHlch(1.52, 22.91, 292.42°)
OKLaboklab(12.75% -0.0039 -0.0799)
OKLCHoklch(12.75% 0.08 267.2)
XYZxyz(0.3731, 0.1681, 1.8461)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010126 #262601
analogous
#011326 #010126 #130126
triadic
#010126 #260101 #012601
tetradic
#010126 #260113 #262601 #012613
square
#010126 #260113 #262601 #012613
split-complementary
#010126 #261301 #132601
monochromatic
#01011E #01011E #010126 #030362 #04049D

Accessibility & contrast

On white

20.32
#010126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010126
20.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010126#FFFFFF#000000##FFFFFF
##0101261.0020.321.0320.32
#FFFFFF20.321.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000727
Deuteranopia (green-blind)
#000425
Tritanopia (blue-blind)
#000A12
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #010126;
/* rgb */ color: rgb(1, 1, 38);
/* oklch */ color: oklch(12.7% 0.080 267.2);
Tailwind
colors: {
  custom: {
    50: '#474760',
    500: '#010126',
    950: '#000000',
  },
}
SCSS
$custom: #010126;
$custom-light: #474760;
$custom-dark: #000000;
JSON
{
  "hex": "#010126",
  "rgb": {
    "r": 1,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 240,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.12749,
    "c": 0.07995,
    "h": 267.2
  },
  "luminance": 0.00168
}

Semantic roles & 50–950 ramp

primary
#010126
secondary
#6D6D16
accent
#FF29FF
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000005
muted
#777779

Preview Lab

Preview with #010126

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

Preview Lab → · Contrast checker → · Palette generator →

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