#02001D#02001D

#02001D is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 10.9% C 0.069 H 273.5°. Best body text is #FFFFFF at 20.58:1 contrast (WCAG AA passes).

Color values

HEX#02001D
RGBrgb(2, 0, 29)
HSLhsl(244, 100%, 6%)
HSVhsv(244, 100%, 11%)
CMYKcmyk(93.1%, 100%, 0%, 88.6%)
CIE-LABlab(0.92, 6.15, -14.95)
CIE-LCHlch(0.92, 16.17, 292.36°)
OKLaboklab(10.92% 0.0043 -0.0693)
OKLCHoklch(10.92% 0.069 273.5)
XYZxyz(0.2467, 0.1016, 1.1688)
Luminance0.0010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02001D #1B1D00
analogous
#000C1D #02001D #10001D
triadic
#02001D #1D0200 #001D02
tetradic
#02001D #1D000C #1B1D00 #001D10
square
#02001D #1D000C #1B1D00 #001D10
split-complementary
#02001D #1D1000 #0C1D00
monochromatic
#02001F #02001F #02001F #06005A #0A0097

Accessibility & contrast

On white

20.58
#02001D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02001D
20.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02001D#FFFFFF#000000##FFFFFF
##02001D1.0020.581.0220.58
#FFFFFF20.581.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00041E
Deuteranopia (green-blind)
#00021C
Tritanopia (blue-blind)
#00060C
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #02001d;
/* rgb */ color: rgb(2, 0, 29);
/* oklch */ color: oklch(10.9% 0.069 273.5);
Tailwind
colors: {
  custom: {
    50: '#474758',
    500: '#02001d',
    950: '#000000',
  },
}
SCSS
$custom: #02001d;
$custom-light: #474758;
$custom-dark: #000000;
JSON
{
  "hex": "#02001d",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 29
  },
  "hsl": {
    "h": 244.138,
    "s": 100,
    "l": 5.686
  },
  "oklch": {
    "l": 0.10917,
    "c": 0.06942,
    "h": 273.5
  },
  "luminance": 0.00102
}

Semantic roles & 50–950 ramp

primary
#02001D
secondary
#616712
accent
#FF29F0
background
#F4F3F5
surface
#E6E5E9
border
#C2C1C5
text
#000003
muted
#777778

Preview Lab

Preview with #02001D

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

Preview Lab → · Contrast checker → · Palette generator →

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