#070B34#070B34

#070B34 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.079 H 271.1°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#070B34
RGBrgb(7, 11, 52)
HSLhsl(235, 76%, 12%)
HSVhsv(235, 87%, 20%)
CMYKcmyk(86.5%, 78.8%, 0%, 79.6%)
CIE-LABlab(4.81, 13.14, -26.52)
CIE-LCHlch(4.81, 29.60, 296.36°)
OKLaboklab(18.09% 0.0015 -0.0795)
OKLCHoklch(18.09% 0.079 271.1)
XYZxyz(0.8269, 0.5324, 3.3073)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B34 #343007
analogous
#072234 #070B34 #1A0734
triadic
#070B34 #34070B #0B3407
tetradic
#070B34 #340722 #343007 #07341A
square
#070B34 #340722 #343007 #07341A
split-complementary
#070B34 #341A07 #223407
monochromatic
#04061B #04061B #070B34 #0E166A #1622A0

Accessibility & contrast

On white

18.98
#070B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070B34
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B34#FFFFFF#000000##FFFFFF
##070B341.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001335
Deuteranopia (green-blind)
#000E33
Tritanopia (blue-blind)
#00161E
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070b34;
/* rgb */ color: rgb(7, 11, 52);
/* oklch */ color: oklch(18.1% 0.079 271.1);
Tailwind
colors: {
  custom: {
    50: '#4e4b6c',
    500: '#070b34',
    950: '#000000',
  },
}
SCSS
$custom: #070b34;
$custom-light: #4e4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#070b34",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 52
  },
  "hsl": {
    "h": 234.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.1809,
    "c": 0.07949,
    "h": 271.1
  },
  "luminance": 0.00532
}

Semantic roles & 50–950 ramp

primary
#070B34
secondary
#746D23
accent
#E235F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #070B34

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

Preview Lab → · Contrast checker → · Palette generator →

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