#070B2E#070B2E

#070B2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.4% C 0.070 H 271.6°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#070B2E
RGBrgb(7, 11, 46)
HSLhsl(234, 74%, 10%)
HSVhsv(234, 85%, 18%)
CMYKcmyk(84.8%, 76.1%, 0%, 82%)
CIE-LABlab(4.35, 9.93, -22.80)
CIE-LCHlch(4.35, 24.87, 293.54°)
OKLaboklab(17.4% 0.0019 -0.0696)
OKLCHoklch(17.4% 0.07 271.6)
XYZxyz(0.7003, 0.4817, 2.6403)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B2E #2E2A07
analogous
#071E2E #070B2E #16072E
triadic
#070B2E #2E070B #0B2E07
tetradic
#070B2E #2E071E #2E2A07 #072E16
square
#070B2E #2E071E #2E2A07 #072E16
split-complementary
#070B2E #2E1607 #1E2E07
monochromatic
#04061B #04061B #070B2E #0F1863 #172498

Accessibility & contrast

On white

19.15
#070B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070B2E
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B2E#FFFFFF#000000##FFFFFF
##070B2E1.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000D2D
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #070b2e;
/* rgb */ color: rgb(7, 11, 46);
/* oklch */ color: oklch(17.4% 0.070 271.6);
Tailwind
colors: {
  custom: {
    50: '#4c4b67',
    500: '#070b2e',
    950: '#000000',
  },
}
SCSS
$custom: #070b2e;
$custom-light: #4c4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#070b2e",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 233.846,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.174,
    "c": 0.06964,
    "h": 271.6
  },
  "luminance": 0.00482
}

Semantic roles & 50–950 ramp

primary
#070B2E
secondary
#6E6623
accent
#DD38F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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