#010028#010028

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

Color values

HEX#010028
RGBrgb(1, 0, 40)
HSLhsl(242, 100%, 8%)
HSVhsv(242, 100%, 16%)
CMYKcmyk(97.5%, 100%, 0%, 84.3%)
CIE-LABlab(1.44, 9.98, -22.85)
CIE-LCHlch(1.44, 24.93, 293.60°)
OKLaboklab(12.69% -0.0044 -0.0853)
OKLCHoklch(12.69% 0.085 267.1)
XYZxyz(0.3954, 0.1596, 2.0170)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010028 #272800
analogous
#001328 #010028 #150028
triadic
#010028 #280100 #002801
tetradic
#010028 #280013 #272800 #002815
square
#010028 #280013 #272800 #002815
split-complementary
#010028 #281500 #132800
monochromatic
#01001F #01001F #010028 #030065 #0400A2

Accessibility & contrast

On white

20.35
#010028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #010028
20.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010028#FFFFFF#000000##FFFFFF
##0100281.0020.351.0320.35
#FFFFFF20.351.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000729
Deuteranopia (green-blind)
#000427
Tritanopia (blue-blind)
#000A13
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #010028;
/* rgb */ color: rgb(1, 0, 40);
/* oklch */ color: oklch(12.7% 0.085 267.1);
Tailwind
colors: {
  custom: {
    50: '#474762',
    500: '#010028',
    950: '#000000',
  },
}
SCSS
$custom: #010028;
$custom-light: #474762;
$custom-dark: #000000;
JSON
{
  "hex": "#010028",
  "rgb": {
    "r": 1,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 241.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.12691,
    "c": 0.08543,
    "h": 267.1
  },
  "luminance": 0.0016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #010028

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

Preview Lab → · Contrast checker → · Palette generator →

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