#010027#010027

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

Color values

HEX#010027
RGBrgb(1, 0, 39)
HSLhsl(242, 100%, 8%)
HSVhsv(242, 100%, 15%)
CMYKcmyk(97.4%, 100%, 0%, 84.7%)
CIE-LABlab(1.38, 9.56, -22.17)
CIE-LCHlch(1.38, 24.14, 293.32°)
OKLaboklab(12.51% -0.0041 -0.084)
OKLCHoklch(12.51% 0.084 267.2)
XYZxyz(0.3786, 0.1529, 1.9286)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010027 #262700
analogous
#001327 #010027 #140027
triadic
#010027 #270100 #002701
tetradic
#010027 #270013 #262700 #002714
square
#010027 #270013 #262700 #002714
split-complementary
#010027 #271400 #132700
monochromatic
#01001F #01001F #010027 #030064 #0400A1

Accessibility & contrast

On white

20.38
#010027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010027
20.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010027#FFFFFF#000000##FFFFFF
##0100271.0020.381.0320.38
#FFFFFF20.381.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000728
Deuteranopia (green-blind)
#000326
Tritanopia (blue-blind)
#000A12
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #010027;
/* rgb */ color: rgb(1, 0, 39);
/* oklch */ color: oklch(12.5% 0.084 267.2);
Tailwind
colors: {
  custom: {
    50: '#474761',
    500: '#010027',
    950: '#000000',
  },
}
SCSS
$custom: #010027;
$custom-light: #474761;
$custom-dark: #000000;
JSON
{
  "hex": "#010027",
  "rgb": {
    "r": 1,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 241.538,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.12511,
    "c": 0.08411,
    "h": 267.2
  },
  "luminance": 0.00153
}

Semantic roles & 50–950 ramp

primary
#010027
secondary
#6D6F14
accent
#FF29FA
background
#F4F3F5
surface
#E6E5EA
border
#C2C1C6
text
#000005
muted
#777779

Preview Lab

Preview with #010027

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

Preview Lab → · Contrast checker → · Palette generator →

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