#010427#010427

#010427 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.0% C 0.074 H 266.1°. Best body text is #FFFFFF at 20.04:1 contrast (WCAG AA passes).

Color values

HEX#010427
RGBrgb(1, 4, 39)
HSLhsl(235, 95%, 8%)
HSVhsv(235, 97%, 15%)
CMYKcmyk(97.4%, 89.7%, 0%, 84.7%)
CIE-LABlab(2.17, 7.95, -20.95)
CIE-LCHlch(2.17, 22.40, 290.79°)
OKLaboklab(14.01% -0.0051 -0.0739)
OKLCHoklch(14.01% 0.074 266.1)
XYZxyz(0.4220, 0.2397, 1.9431)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010427 #272401
analogous
#011727 #010427 #110127
triadic
#010427 #270104 #042701
tetradic
#010427 #270117 #272401 #012711
square
#010427 #270117 #272401 #012711
split-complementary
#010427 #271101 #172701
monochromatic
#01031E #01031E #010427 #030A63 #04109E

Accessibility & contrast

On white

20.04
#010427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010427
20.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010427#FFFFFF#000000##FFFFFF
##0104271.0020.041.0520.04
#FFFFFF20.041.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A28
Deuteranopia (green-blind)
#000626
Tritanopia (blue-blind)
#000D14
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #010427;
/* rgb */ color: rgb(1, 4, 39);
/* oklch */ color: oklch(14.0% 0.074 266.1);
Tailwind
colors: {
  custom: {
    50: '#474861',
    500: '#010427',
    950: '#000000',
  },
}
SCSS
$custom: #010427;
$custom-light: #474861;
$custom-dark: #000000;
JSON
{
  "hex": "#010427",
  "rgb": {
    "r": 1,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 235.263,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14007,
    "c": 0.07413,
    "h": 266.1
  },
  "luminance": 0.0024
}

Semantic roles & 50–950 ramp

primary
#010427
secondary
#6E6716
accent
#EE29FF
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000005
muted
#777779

Preview Lab

Preview with #010427

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

Preview Lab → · Contrast checker → · Palette generator →

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