#070B36#070B36

#070B36 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.3% C 0.083 H 270.9°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#070B36
RGBrgb(7, 11, 54)
HSLhsl(235, 77%, 12%)
HSVhsv(235, 87%, 21%)
CMYKcmyk(87%, 79.6%, 0%, 78.8%)
CIE-LABlab(4.98, 14.30, -27.73)
CIE-LCHlch(4.98, 31.20, 297.28°)
OKLaboklab(18.33% 0.0012 -0.0827)
OKLCHoklch(18.33% 0.083 270.9)
XYZxyz(0.8729, 0.5508, 3.5496)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B36 #363207
analogous
#072336 #070B36 #1B0736
triadic
#070B36 #36070B #0B3607
tetradic
#070B36 #360723 #363207 #07361B
square
#070B36 #360723 #363207 #07361B
split-complementary
#070B36 #361B07 #233607
monochromatic
#04061B #04061B #070B36 #0E166C #1521A2

Accessibility & contrast

On white

18.92
#070B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#070B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070B36
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B36#FFFFFF#000000##FFFFFF
##070B361.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#000F35
Tritanopia (blue-blind)
#00171F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070b36;
/* rgb */ color: rgb(7, 11, 54);
/* oklch */ color: oklch(18.3% 0.083 270.9);
Tailwind
colors: {
  custom: {
    50: '#4e4b6d',
    500: '#070b36',
    950: '#000000',
  },
}
SCSS
$custom: #070b36;
$custom-light: #4e4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#070b36",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 234.894,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.18328,
    "c": 0.08267,
    "h": 270.9
  },
  "luminance": 0.00551
}

Semantic roles & 50–950 ramp

primary
#070B36
secondary
#766F23
accent
#E334F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #070B36

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

Preview Lab → · Contrast checker → · Palette generator →

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