#08070F#08070F

#08070F is a very dark, near-neutral blue. Relative luminance 0.002; OKLCH L 13.5% C 0.018 H 290.3°. Best body text is #FFFFFF at 20.05:1 contrast (WCAG AA passes).

Color values

HEX#08070F
RGBrgb(8, 7, 15)
HSLhsl(248, 36%, 4%)
HSVhsv(248, 53%, 6%)
CMYKcmyk(46.7%, 53.3%, 0%, 94.1%)
CIE-LABlab(2.15, 1.47, -3.21)
CIE-LCHlch(2.15, 3.54, 294.64°)
OKLaboklab(13.48% 0.0063 -0.0171)
OKLCHoklch(13.48% 0.018 290.3)
XYZxyz(0.2623, 0.2381, 0.4840)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08070F #0E0F07
analogous
#070A0F #08070F #0C070F
triadic
#08070F #0F0807 #070F08
tetradic
#08070F #0F070A #0E0F07 #070F0C
square
#08070F #0F070A #0E0F07 #070F0C
split-complementary
#08070F #0F0C07 #0A0F07
monochromatic
#0B0A15 #0B0A15 #0B0A15 #1E1A39 #352E62

Accessibility & contrast

On white

20.05
#08070F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#08070F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08070F
20.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08070F#FFFFFF#000000##FFFFFF
##08070F1.0020.051.0520.05
#FFFFFF20.051.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05080F
Deuteranopia (green-blind)
#05080F
Tritanopia (blue-blind)
#07080A
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #08070f;
/* rgb */ color: rgb(8, 7, 15);
/* oklch */ color: oklch(13.5% 0.018 290.3);
Tailwind
colors: {
  custom: {
    50: '#4a4a4e',
    500: '#08070f',
    950: '#000000',
  },
}
SCSS
$custom: #08070f;
$custom-light: #4a4a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#08070f",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 15
  },
  "hsl": {
    "h": 247.5,
    "s": 36.364,
    "l": 4.314
  },
  "oklch": {
    "l": 0.13482,
    "c": 0.01824,
    "h": 290.3
  },
  "luminance": 0.00238
}

Semantic roles & 50–950 ramp

primary
#08070F
secondary
#44472A
accent
#CC5BBE
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010101
muted
#777777

Preview Lab

Preview with #08070F

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

Preview Lab → · Contrast checker → · Palette generator →

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