#02001B#02001B

#02001B is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 10.6% C 0.067 H 274.5°. Best body text is #FFFFFF at 20.62:1 contrast (WCAG AA passes).

Color values

HEX#02001B
RGBrgb(2, 0, 27)
HSLhsl(244, 100%, 5%)
HSVhsv(244, 100%, 11%)
CMYKcmyk(92.6%, 100%, 0%, 89.4%)
CIE-LABlab(0.83, 5.54, -13.45)
CIE-LCHlch(0.83, 14.55, 292.40°)
OKLaboklab(10.56% 0.0053 -0.0664)
OKLCHoklch(10.56% 0.067 274.5)
XYZxyz(0.2228, 0.0920, 1.0427)
Luminance0.0009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#02001B #191B00
analogous
#000B1B #02001B #0F001B
triadic
#02001B #1B0200 #001B02
tetradic
#02001B #1B000B #191B00 #001B0F
square
#02001B #1B000B #191B00 #001B0F
split-complementary
#02001B #1B0F00 #0B1B00
monochromatic
#02001F #02001F #02001F #070058 #0B0095

Accessibility & contrast

On white

20.62
#02001B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #02001B
20.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##02001B#FFFFFF#000000##FFFFFF
##02001B1.0020.621.0220.62
#FFFFFF20.621.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #02001b;
/* rgb */ color: rgb(2, 0, 27);
/* oklch */ color: oklch(10.6% 0.067 274.5);
Tailwind
colors: {
  custom: {
    50: '#474757',
    500: '#02001b',
    950: '#000000',
  },
}
SCSS
$custom: #02001b;
$custom-light: #474757;
$custom-dark: #000000;
JSON
{
  "hex": "#02001b",
  "rgb": {
    "r": 2,
    "g": 0,
    "b": 27
  },
  "hsl": {
    "h": 244.444,
    "s": 100,
    "l": 5.294
  },
  "oklch": {
    "l": 0.10562,
    "c": 0.06662,
    "h": 274.5
  },
  "luminance": 0.00092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #02001B

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

Preview Lab → · Contrast checker → · Palette generator →

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