#01022A#01022A

#01022A is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.8% C 0.083 H 266.6°. Best body text is #FFFFFF at 20.13:1 contrast (WCAG AA passes).

Color values

HEX#01022A
RGBrgb(1, 2, 42)
HSLhsl(239, 95%, 8%)
HSVhsv(239, 98%, 16%)
CMYKcmyk(97.6%, 95.2%, 0%, 83.5%)
CIE-LABlab(1.96, 10.07, -23.57)
CIE-LCHlch(1.96, 25.63, 293.12°)
OKLaboklab(13.78% -0.0049 -0.083)
OKLCHoklch(13.78% 0.083 266.6)
XYZxyz(0.4520, 0.2170, 2.2081)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01022A #2A2901
analogous
#01162A #01022A #14012A
triadic
#01022A #2A0102 #022A01
tetradic
#01022A #2A0116 #2A2901 #012A14
square
#01022A #2A0116 #2A2901 #012A14
split-complementary
#01022A #2A1401 #162A01
monochromatic
#01011E #01011E #01022A #020566 #0408A2

Accessibility & contrast

On white

20.13
#01022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#01022A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01022A
20.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01022A#FFFFFF#000000##FFFFFF
##01022A1.0020.131.0420.13
#FFFFFF20.131.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00092B
Deuteranopia (green-blind)
#000529
Tritanopia (blue-blind)
#000D15
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #01022a;
/* rgb */ color: rgb(1, 2, 42);
/* oklch */ color: oklch(13.8% 0.083 266.6);
Tailwind
colors: {
  custom: {
    50: '#474764',
    500: '#01022a',
    950: '#000000',
  },
}
SCSS
$custom: #01022a;
$custom-light: #474764;
$custom-dark: #000000;
JSON
{
  "hex": "#01022a",
  "rgb": {
    "r": 1,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 238.537,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.13783,
    "c": 0.08312,
    "h": 266.6
  },
  "luminance": 0.00217
}

Semantic roles & 50–950 ramp

primary
#01022A
secondary
#706E16
accent
#FA29FF
background
#F4F4F6
surface
#E6E6EB
border
#C2C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #01022A

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

Preview Lab → · Contrast checker → · Palette generator →

#01022A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva