#070B39#070B39

#070B39 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.087 H 270.6°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#070B39
RGBrgb(7, 11, 57)
HSLhsl(235, 78%, 13%)
HSVhsv(235, 88%, 22%)
CMYKcmyk(87.7%, 80.7%, 0%, 77.6%)
CIE-LABlab(5.24, 16.00, -29.49)
CIE-LCHlch(5.24, 33.55, 298.48°)
OKLaboklab(18.69% 0.0009 -0.0873)
OKLCHoklch(18.69% 0.087 270.6)
XYZxyz(0.9456, 0.5798, 3.9322)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070B39 #393507
analogous
#072439 #070B39 #1C0739
triadic
#070B39 #39070B #0B3907
tetradic
#070B39 #390724 #393507 #07391C
square
#070B39 #390724 #393507 #07391C
split-complementary
#070B39 #391C07 #243907
monochromatic
#03051B #03051B #070B39 #0E1670 #1420A6

Accessibility & contrast

On white

18.82
#070B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#070B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070B39
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070B39#FFFFFF#000000##FFFFFF
##070B391.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#000F38
Tritanopia (blue-blind)
#001820
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070b39;
/* rgb */ color: rgb(7, 11, 57);
/* oklch */ color: oklch(18.7% 0.087 270.6);
Tailwind
colors: {
  custom: {
    50: '#504b70',
    500: '#070b39',
    950: '#000000',
  },
}
SCSS
$custom: #070b39;
$custom-light: #504b70;
$custom-dark: #000000;
JSON
{
  "hex": "#070b39",
  "rgb": {
    "r": 7,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 235.2,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18691,
    "c": 0.08735,
    "h": 270.6
  },
  "luminance": 0.0058
}

Semantic roles & 50–950 ramp

primary
#070B39
secondary
#797223
accent
#E533F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070B39

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

Preview Lab → · Contrast checker → · Palette generator →

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