#070939#070939

#070939 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.3% C 0.090 H 271.3°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#070939
RGBrgb(7, 9, 57)
HSLhsl(238, 78%, 13%)
HSVhsv(238, 88%, 22%)
CMYKcmyk(87.7%, 84.2%, 0%, 77.6%)
CIE-LABlab(4.84, 16.87, -30.13)
CIE-LCHlch(4.84, 34.53, 299.24°)
OKLaboklab(18.3% 0.0021 -0.0899)
OKLCHoklch(18.3% 0.09 271.3)
XYZxyz(0.9236, 0.5359, 3.9249)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070939 #393707
analogous
#072239 #070939 #1E0739
triadic
#070939 #390709 #093907
tetradic
#070939 #390722 #393707 #07391E
square
#070939 #390722 #393707 #07391E
split-complementary
#070939 #391E07 #223907
monochromatic
#03041B #03041B #070939 #0E1270 #141AA6

Accessibility & contrast

On white

18.97
#070939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#070939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070939
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070939#FFFFFF#000000##FFFFFF
##0709391.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070939;
/* rgb */ color: rgb(7, 9, 57);
/* oklch */ color: oklch(18.3% 0.090 271.3);
Tailwind
colors: {
  custom: {
    50: '#504a70',
    500: '#070939',
    950: '#000000',
  },
}
SCSS
$custom: #070939;
$custom-light: #504a70;
$custom-dark: #000000;
JSON
{
  "hex": "#070939",
  "rgb": {
    "r": 7,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 237.6,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18303,
    "c": 0.08996,
    "h": 271.3
  },
  "luminance": 0.00536
}

Semantic roles & 50–950 ramp

primary
#070939
secondary
#797523
accent
#ED33F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #070939

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

Preview Lab → · Contrast checker → · Palette generator →

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