#00001F#00001F

#00001F is a very dark, moderate blue. Relative luminance 0.001; OKLCH L 10.8% C 0.075 H 264.0°. Best body text is #FFFFFF at 20.59:1 contrast (WCAG AA passes).

Color values

HEX#00001F
RGBrgb(0, 0, 31)
HSLhsl(240, 100%, 6%)
HSVhsv(240, 100%, 12%)
CMYKcmyk(100%, 100%, 0%, 87.8%)
CIE-LABlab(0.89, 6.28, -16.61)
CIE-LCHlch(0.89, 17.76, 290.70°)
OKLaboklab(10.82% -0.0078 -0.0745)
OKLCHoklch(10.82% 0.075 264)
XYZxyz(0.2472, 0.0989, 1.3021)
Luminance0.0010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#00001F #1F1F00
analogous
#000F1F #00001F #0F001F
triadic
#00001F #1F0000 #001F00
tetradic
#00001F #1F000F #1F1F00 #001F0F
square
#00001F #1F000F #1F1F00 #001F0F
split-complementary
#00001F #1F0F00 #0F1F00
monochromatic
#00001F #00001F #00001F #00005C #000099

Accessibility & contrast

On white

20.59
#00001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#00001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #00001F
20.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##00001F#FFFFFF#000000##FFFFFF
##00001F1.0020.591.0220.59
#FFFFFF20.591.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000420
Deuteranopia (green-blind)
#00021E
Tritanopia (blue-blind)
#00070D
Achromatopsia (no color)
#030303

Design tokens & code

CSS
--color: #00001f;
/* rgb */ color: rgb(0, 0, 31);
/* oklch */ color: oklch(10.8% 0.075 264.0);
Tailwind
colors: {
  custom: {
    50: '#46475a',
    500: '#00001f',
    950: '#000000',
  },
}
SCSS
$custom: #00001f;
$custom-light: #46475a;
$custom-dark: #000000;
JSON
{
  "hex": "#00001f",
  "rgb": {
    "r": 0,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.10816,
    "c": 0.07495,
    "h": 264
  },
  "luminance": 0.00099
}

Semantic roles & 50–950 ramp

primary
#00001F
secondary
#686812
accent
#FF29FF
background
#F3F3F5
surface
#E5E5E9
border
#C1C1C5
text
#000004
muted
#767779

Preview Lab

Preview with #00001F

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

Preview Lab → · Contrast checker → · Palette generator →

#00001F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva