#070D1F#070D1F

#070D1F is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.4% C 0.039 H 267.4°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#070D1F
RGBrgb(7, 13, 31)
HSLhsl(225, 63%, 7%)
HSVhsv(225, 77%, 12%)
CMYKcmyk(77.4%, 58.1%, 0%, 87.8%)
CIE-LABlab(3.90, 2.80, -12.03)
CIE-LCHlch(3.90, 12.35, 283.10°)
OKLaboklab(16.44% -0.0017 -0.0392)
OKLCHoklch(16.44% 0.039 267.4)
XYZxyz(0.4788, 0.4319, 1.3542)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070D1F #1F1907
analogous
#07191F #070D1F #0D071F
triadic
#070D1F #1F070D #0D1F07
tetradic
#070D1F #1F0719 #1F1907 #071F0D
square
#070D1F #1F0719 #1F1907 #071F0D
split-complementary
#070D1F #1F0D07 #191F07
monochromatic
#060A19 #060A19 #070D1F #122251 #1E3783

Accessibility & contrast

On white

19.33
#070D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#070D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070D1F
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070D1F#FFFFFF#000000##FFFFFF
##070D1F1.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F20
Deuteranopia (green-blind)
#040D1F
Tritanopia (blue-blind)
#001114
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #070d1f;
/* rgb */ color: rgb(7, 13, 31);
/* oklch */ color: oklch(16.4% 0.039 267.4);
Tailwind
colors: {
  custom: {
    50: '#494d5a',
    500: '#070d1f',
    950: '#000000',
  },
}
SCSS
$custom: #070d1f;
$custom-light: #494d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#070d1f",
  "rgb": {
    "r": 7,
    "g": 13,
    "b": 31
  },
  "hsl": {
    "h": 225,
    "s": 63.158,
    "l": 7.451
  },
  "oklch": {
    "l": 0.16436,
    "c": 0.03921,
    "h": 267.4
  },
  "luminance": 0.00432
}

Semantic roles & 50–950 ramp

primary
#070D1F
secondary
#5E4F24
accent
#BD42E6
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #070D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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