#070B2A#070B2A

#070B2A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.0% C 0.063 H 271.9°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#070B2A
RGBrgb(7, 11, 42)
HSLhsl(233, 71%, 10%)
HSVhsv(233, 83%, 16%)
CMYKcmyk(83.3%, 73.8%, 0%, 83.5%)
CIE-LABlab(4.08, 8.02, -20.22)
CIE-LCHlch(4.08, 21.75, 291.65°)
OKLaboklab(16.96% 0.0021 -0.0628)
OKLCHoklch(16.96% 0.063 271.9)
XYZxyz(0.6251, 0.4516, 2.2443)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B2A #2A2607
analogous
#071D2A #070B2A #15072A
triadic
#070B2A #2A070B #0B2A07
tetradic
#070B2A #2A071D #2A2607 #072A15
square
#070B2A #2A071D #2A2607 #072A15
split-complementary
#070B2A #2A1507 #1D2A07
monochromatic
#04071A #04071A #070B2A #10195E #182693

Accessibility & contrast

On white

19.26
#070B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070B2A
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B2A#FFFFFF#000000##FFFFFF
##070B2A1.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#000D29
Tritanopia (blue-blind)
#001318
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #070b2a;
/* rgb */ color: rgb(7, 11, 42);
/* oklch */ color: oklch(17.0% 0.063 271.9);
Tailwind
colors: {
  custom: {
    50: '#4b4b63',
    500: '#070b2a',
    950: '#000000',
  },
}
SCSS
$custom: #070b2a;
$custom-light: #4b4b63;
$custom-dark: #000000;
JSON
{
  "hex": "#070b2a",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 233.143,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16962,
    "c": 0.06279,
    "h": 271.9
  },
  "luminance": 0.00452
}

Semantic roles & 50–950 ramp

primary
#070B2A
secondary
#6A6223
accent
#DA3AEE
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #070B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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