#02001A#02001A

#02001A is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 10.4% C 0.065 H 275.1°. Best body text is #FFFFFF at 20.64:1 contrast (WCAG AA passes).

Color values

HEX#02001A
RGBrgb(2, 0, 26)
HSLhsl(245, 100%, 5%)
HSVhsv(245, 100%, 10%)
CMYKcmyk(92.3%, 100%, 0%, 89.8%)
CIE-LABlab(0.79, 5.25, -12.69)
CIE-LCHlch(0.79, 13.74, 292.48°)
OKLaboklab(10.38% 0.0058 -0.0649)
OKLCHoklch(10.38% 0.065 275.1)
XYZxyz(0.2114, 0.0875, 0.9828)
Luminance0.0009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02001A #181A00
analogous
#000B1A #02001A #0F001A
triadic
#02001A #1A0200 #001A02
tetradic
#02001A #1A000B #181A00 #001A0F
square
#02001A #1A000B #181A00 #001A0F
split-complementary
#02001A #1A0F00 #0B1A00
monochromatic
#02001F #02001F #02001F #070057 #0B0094

Accessibility & contrast

On white

20.64
#02001A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#02001A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #02001A
20.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02001A#FFFFFF#000000##FFFFFF
##02001A1.0020.641.0220.64
#FFFFFF20.641.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00041B
Deuteranopia (green-blind)
#000219
Tritanopia (blue-blind)
#00050A
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #02001a;
/* rgb */ color: rgb(2, 0, 26);
/* oklch */ color: oklch(10.4% 0.065 275.1);
Tailwind
colors: {
  custom: {
    50: '#474756',
    500: '#02001a',
    950: '#000000',
  },
}
SCSS
$custom: #02001a;
$custom-light: #474756;
$custom-dark: #000000;
JSON
{
  "hex": "#02001a",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 26
  },
  "hsl": {
    "h": 244.615,
    "s": 100,
    "l": 5.098
  },
  "oklch": {
    "l": 0.10384,
    "c": 0.06521,
    "h": 275.1
  },
  "luminance": 0.00087
}

Semantic roles & 50–950 ramp

primary
#02001A
secondary
#5E6412
accent
#FF29EF
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000003
muted
#777778

Preview Lab

Preview with #02001A

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

Preview Lab → · Contrast checker → · Palette generator →

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