#070839#070839

#070839 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.091 H 271.7°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#070839
RGBrgb(7, 8, 57)
HSLhsl(239, 78%, 13%)
HSVhsv(239, 88%, 22%)
CMYKcmyk(87.7%, 86%, 0%, 77.6%)
CIE-LABlab(4.64, 17.29, -30.45)
CIE-LCHlch(4.64, 35.02, 299.59°)
OKLaboklab(18.11% 0.0026 -0.0913)
OKLCHoklch(18.11% 0.091 271.7)
XYZxyz(0.9127, 0.5141, 3.9212)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070839 #393807
analogous
#072139 #070839 #1F0739
triadic
#070839 #390708 #083907
tetradic
#070839 #390721 #393807 #07391F
square
#070839 #390721 #393807 #07391F
split-complementary
#070839 #391F07 #213907
monochromatic
#03041B #03041B #070839 #0E1070 #1417A6

Accessibility & contrast

On white

19.04
#070839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#070839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070839
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070839#FFFFFF#000000##FFFFFF
##0708391.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#000D38
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #070839;
/* rgb */ color: rgb(7, 8, 57);
/* oklch */ color: oklch(18.1% 0.091 271.7);
Tailwind
colors: {
  custom: {
    50: '#504970',
    500: '#070839',
    950: '#000000',
  },
}
SCSS
$custom: #070839;
$custom-light: #504970;
$custom-dark: #000000;
JSON
{
  "hex": "#070839",
  "rgb": {
    "r": 7,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 238.8,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18105,
    "c": 0.09131,
    "h": 271.7
  },
  "luminance": 0.00514
}

Semantic roles & 50–950 ramp

primary
#070839
secondary
#797723
accent
#F133F5
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070839

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

Preview Lab → · Contrast checker → · Palette generator →

#070839 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva