#070B2F#070B2F

#070B2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.5% C 0.071 H 271.5°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#070B2F
RGBrgb(7, 11, 47)
HSLhsl(234, 74%, 11%)
HSVhsv(234, 85%, 18%)
CMYKcmyk(85.1%, 76.6%, 0%, 81.6%)
CIE-LABlab(4.42, 10.44, -23.43)
CIE-LCHlch(4.42, 25.65, 294.01°)
OKLaboklab(17.51% 0.0019 -0.0713)
OKLCHoklch(17.51% 0.071 271.5)
XYZxyz(0.7202, 0.4897, 2.7453)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B2F #2F2B07
analogous
#071F2F #070B2F #17072F
triadic
#070B2F #2F070B #0B2F07
tetradic
#070B2F #2F071F #2F2B07 #072F17
square
#070B2F #2F071F #2F2B07 #072F17
split-complementary
#070B2F #2F1707 #1F2F07
monochromatic
#04061B #04061B #070B2F #0F1764 #17249A

Accessibility & contrast

On white

19.13
#070B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070B2F
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B2F#FFFFFF#000000##FFFFFF
##070B2F1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#000D2E
Tritanopia (blue-blind)
#00141B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #070b2f;
/* rgb */ color: rgb(7, 11, 47);
/* oklch */ color: oklch(17.5% 0.071 271.5);
Tailwind
colors: {
  custom: {
    50: '#4c4b68',
    500: '#070b2f',
    950: '#000000',
  },
}
SCSS
$custom: #070b2f;
$custom-light: #4c4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#070b2f",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 234,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17512,
    "c": 0.07131,
    "h": 271.5
  },
  "luminance": 0.0049
}

Semantic roles & 50–950 ramp

primary
#070B2F
secondary
#6F6723
accent
#DE37F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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