#010022#010022

#010022 is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 11.6% C 0.077 H 268.0°. Best body text is #FFFFFF at 20.50:1 contrast (WCAG AA passes).

Color values

HEX#010022
RGBrgb(1, 0, 34)
HSLhsl(242, 100%, 7%)
HSVhsv(242, 100%, 13%)
CMYKcmyk(97.1%, 100%, 0%, 86.7%)
CIE-LABlab(1.10, 7.59, -18.68)
CIE-LCHlch(1.10, 20.16, 292.12°)
OKLaboklab(11.6% -0.0027 -0.0774)
OKLCHoklch(11.6% 0.077 268)
XYZxyz(0.3012, 0.1219, 1.5207)
Luminance0.0012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010022 #212200
analogous
#001022 #010022 #120022
triadic
#010022 #220100 #002201
tetradic
#010022 #220010 #212200 #002212
square
#010022 #220010 #212200 #002212
split-complementary
#010022 #221200 #102200
monochromatic
#01001F #01001F #010022 #03005F #05009C

Accessibility & contrast

On white

20.50
#010022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#010022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010022
20.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010022#FFFFFF#000000##FFFFFF
##0100221.0020.501.0220.50
#FFFFFF20.501.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000523
Deuteranopia (green-blind)
#000321
Tritanopia (blue-blind)
#00080F
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #010022;
/* rgb */ color: rgb(1, 0, 34);
/* oklch */ color: oklch(11.6% 0.077 268.0);
Tailwind
colors: {
  custom: {
    50: '#46475d',
    500: '#010022',
    950: '#000000',
  },
}
SCSS
$custom: #010022;
$custom-light: #46475d;
$custom-dark: #000000;
JSON
{
  "hex": "#010022",
  "rgb": {
    "r": 1,
    "g": 0,
    "b": 34
  },
  "hsl": {
    "h": 241.765,
    "s": 100,
    "l": 6.667
  },
  "oklch": {
    "l": 0.11602,
    "c": 0.07743,
    "h": 268
  },
  "luminance": 0.00122
}

Semantic roles & 50–950 ramp

primary
#010022
secondary
#686B13
accent
#FF29F9
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000004
muted
#777779

Preview Lab

Preview with #010022

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

Preview Lab → · Contrast checker → · Palette generator →

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