#070F1F#070F1F

#070F1F is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.0% C 0.036 H 262.4°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#070F1F
RGBrgb(7, 15, 31)
HSLhsl(220, 63%, 7%)
HSVhsv(220, 77%, 12%)
CMYKcmyk(77.4%, 51.6%, 0%, 87.8%)
CIE-LABlab(4.39, 1.80, -11.29)
CIE-LCHlch(4.39, 11.43, 279.08°)
OKLaboklab(17.02% -0.0047 -0.0356)
OKLCHoklch(17.02% 0.036 262.4)
XYZxyz(0.5057, 0.4857, 1.3632)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070F1F #1F1707
analogous
#071B1F #070F1F #0B071F
triadic
#070F1F #1F070F #0F1F07
tetradic
#070F1F #1F071B #1F1707 #071F0B
square
#070F1F #1F071B #1F1707 #071F0B
split-complementary
#070F1F #1F0B07 #1B1F07
monochromatic
#060C19 #060C19 #070F1F #122751 #1E3F83

Accessibility & contrast

On white

19.14
#070F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#070F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070F1F
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070F1F#FFFFFF#000000##FFFFFF
##070F1F1.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081020
Deuteranopia (green-blind)
#060E1F
Tritanopia (blue-blind)
#001315
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #070f1f;
/* rgb */ color: rgb(7, 15, 31);
/* oklch */ color: oklch(17.0% 0.036 262.4);
Tailwind
colors: {
  custom: {
    50: '#494e5a',
    500: '#070f1f',
    950: '#000000',
  },
}
SCSS
$custom: #070f1f;
$custom-light: #494e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#070f1f",
  "rgb": {
    "r": 7,
    "g": 15,
    "b": 31
  },
  "hsl": {
    "h": 220,
    "s": 63.158,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17018,
    "c": 0.03595,
    "h": 262.4
  },
  "luminance": 0.00486
}

Semantic roles & 50–950 ramp

primary
#070F1F
secondary
#5E4A24
accent
#AF42E6
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #070F1F

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

Preview Lab → · Contrast checker → · Palette generator →

#070F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva