#070A39#070A39

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

Color values

HEX#070A39
RGBrgb(7, 10, 57)
HSLhsl(236, 78%, 13%)
HSVhsv(236, 88%, 22%)
CMYKcmyk(87.7%, 82.5%, 0%, 77.6%)
CIE-LABlab(5.04, 16.44, -29.82)
CIE-LCHlch(5.04, 34.05, 298.86°)
OKLaboklab(18.5% 0.0015 -0.0887)
OKLCHoklch(18.5% 0.089 270.9)
XYZxyz(0.9344, 0.5576, 3.9285)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070A39 #393607
analogous
#072339 #070A39 #1D0739
triadic
#070A39 #39070A #0A3907
tetradic
#070A39 #390723 #393607 #07391D
square
#070A39 #390723 #393607 #07391D
split-complementary
#070A39 #391D07 #233907
monochromatic
#03051B #03051B #070A39 #0E1470 #141DA6

Accessibility & contrast

On white

18.89
#070A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070A39
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070A39#FFFFFF#000000##FFFFFF
##070A391.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #070a39;
/* rgb */ color: rgb(7, 10, 57);
/* oklch */ color: oklch(18.5% 0.089 270.9);
Tailwind
colors: {
  custom: {
    50: '#504a70',
    500: '#070a39',
    950: '#000000',
  },
}
SCSS
$custom: #070a39;
$custom-light: #504a70;
$custom-dark: #000000;
JSON
{
  "hex": "#070a39",
  "rgb": {
    "r": 7,
    "g": 10,
    "b": 57
  },
  "hsl": {
    "h": 236.4,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18497,
    "c": 0.08866,
    "h": 270.9
  },
  "luminance": 0.00558
}

Semantic roles & 50–950 ramp

primary
#070A39
secondary
#797323
accent
#E933F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070A39

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

Preview Lab → · Contrast checker → · Palette generator →

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