#071939#071939

#071939 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.067 H 260.7°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#071939
RGBrgb(7, 25, 57)
HSLhsl(218, 78%, 13%)
HSVhsv(218, 88%, 22%)
CMYKcmyk(87.7%, 56.1%, 0%, 77.6%)
CIE-LABlab(9.29, 6.57, -22.94)
CIE-LCHlch(9.29, 23.86, 285.99°)
OKLaboklab(22.01% -0.0108 -0.0659)
OKLCHoklch(22.01% 0.067 260.7)
XYZxyz(1.1735, 1.0357, 4.0082)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071939 #392707
analogous
#073239 #071939 #0E0739
triadic
#071939 #390719 #193907
tetradic
#071939 #390732 #392707 #07390E
square
#071939 #390732 #392707 #07390E
split-complementary
#071939 #390E07 #323907
monochromatic
#030C1B #030C1B #071939 #0E3170 #1449A6

Accessibility & contrast

On white

17.40
#071939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#071939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071939
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071939#FFFFFF#000000##FFFFFF
##0719391.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071C3A
Deuteranopia (green-blind)
#001838
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #071939;
/* rgb */ color: rgb(7, 25, 57);
/* oklch */ color: oklch(22.0% 0.067 260.7);
Tailwind
colors: {
  custom: {
    50: '#4f556f',
    500: '#071939',
    950: '#000000',
  },
}
SCSS
$custom: #071939;
$custom-light: #4f556f;
$custom-dark: #000000;
JSON
{
  "hex": "#071939",
  "rgb": {
    "r": 7,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 218.4,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22012,
    "c": 0.06677,
    "h": 260.7
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#071939
secondary
#795A23
accent
#AF33F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #071939

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

Preview Lab → · Contrast checker → · Palette generator →

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