#070B31#070B31

#070B31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.075 H 271.3°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#070B31
RGBrgb(7, 11, 49)
HSLhsl(234, 75%, 11%)
HSVhsv(234, 86%, 19%)
CMYKcmyk(85.7%, 77.6%, 0%, 80.8%)
CIE-LABlab(4.57, 11.49, -24.69)
CIE-LCHlch(4.57, 27.23, 294.95°)
OKLaboklab(17.74% 0.0017 -0.0746)
OKLCHoklch(17.74% 0.075 271.3)
XYZxyz(0.7615, 0.5062, 2.9627)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B31 #312D07
analogous
#072031 #070B31 #180731
triadic
#070B31 #31070B #0B3107
tetradic
#070B31 #310720 #312D07 #073118
square
#070B31 #310720 #312D07 #073118
split-complementary
#070B31 #311807 #203107
monochromatic
#04061B #04061B #070B31 #0F1767 #16239C

Accessibility & contrast

On white

19.07
#070B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070B31
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B31#FFFFFF#000000##FFFFFF
##070B311.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#000E30
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070b31;
/* rgb */ color: rgb(7, 11, 49);
/* oklch */ color: oklch(17.7% 0.075 271.3);
Tailwind
colors: {
  custom: {
    50: '#4c4b69',
    500: '#070b31',
    950: '#000000',
  },
}
SCSS
$custom: #070b31;
$custom-light: #4c4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#070b31",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 234.286,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.1774,
    "c": 0.07462,
    "h": 271.3
  },
  "luminance": 0.00506
}

Semantic roles & 50–950 ramp

primary
#070B31
secondary
#716923
accent
#E036F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070B31

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

Preview Lab → · Contrast checker → · Palette generator →

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