#070B2C#070B2C

#070B2C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.2% C 0.066 H 271.7°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#070B2C
RGBrgb(7, 11, 44)
HSLhsl(234, 73%, 10%)
HSVhsv(234, 84%, 17%)
CMYKcmyk(84.1%, 75%, 0%, 82.7%)
CIE-LABlab(4.21, 8.95, -21.52)
CIE-LCHlch(4.21, 23.31, 292.59°)
OKLaboklab(17.18% 0.002 -0.0662)
OKLCHoklch(17.18% 0.066 271.7)
XYZxyz(0.6618, 0.4663, 2.4375)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B2C #2C2807
analogous
#071D2C #070B2C #16072C
triadic
#070B2C #2C070B #0B2C07
tetradic
#070B2C #2C071D #2C2807 #072C16
square
#070B2C #2C071D #2C2807 #072C16
split-complementary
#070B2C #2C1607 #1D2C07
monochromatic
#04071A #04071A #070B2C #0F1861 #182596

Accessibility & contrast

On white

19.21
#070B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070B2C
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B2C#FFFFFF#000000##FFFFFF
##070B2C1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#000D2B
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #070b2c;
/* rgb */ color: rgb(7, 11, 44);
/* oklch */ color: oklch(17.2% 0.066 271.7);
Tailwind
colors: {
  custom: {
    50: '#4b4b65',
    500: '#070b2c',
    950: '#000000',
  },
}
SCSS
$custom: #070b2c;
$custom-light: #4b4b65;
$custom-dark: #000000;
JSON
{
  "hex": "#070b2c",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 44
  },
  "hsl": {
    "h": 233.514,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.17178,
    "c": 0.06624,
    "h": 271.7
  },
  "luminance": 0.00466
}

Semantic roles & 50–950 ramp

primary
#070B2C
secondary
#6C6423
accent
#DC39EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #070B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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