#071139#071139

#071139 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.079 H 267.5°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#071139
RGBrgb(7, 17, 57)
HSLhsl(228, 78%, 13%)
HSVhsv(228, 88%, 22%)
CMYKcmyk(87.7%, 70.2%, 0%, 77.6%)
CIE-LABlab(6.70, 12.68, -27.13)
CIE-LCHlch(6.70, 29.94, 295.06°)
OKLaboklab(20% -0.0035 -0.0788)
OKLCHoklch(20% 0.079 267.5)
XYZxyz(1.0263, 0.7414, 3.9591)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071139 #392F07
analogous
#072A39 #071139 #160739
triadic
#071139 #390711 #113907
tetradic
#071139 #39072A #392F07 #073916
square
#071139 #39072A #392F07 #073916
split-complementary
#071139 #391607 #2A3907
monochromatic
#03081B #03081B #071139 #0E2170 #1432A6

Accessibility & contrast

On white

18.29
#071139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#071139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071139
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071139#FFFFFF#000000##FFFFFF
##0711391.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#001B22
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #071139;
/* rgb */ color: rgb(7, 17, 57);
/* oklch */ color: oklch(20.0% 0.079 267.5);
Tailwind
colors: {
  custom: {
    50: '#504e70',
    500: '#071139',
    950: '#000000',
  },
}
SCSS
$custom: #071139;
$custom-light: #504e70;
$custom-dark: #000000;
JSON
{
  "hex": "#071139",
  "rgb": {
    "r": 7,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 228,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19996,
    "c": 0.07885,
    "h": 267.5
  },
  "luminance": 0.00741
}

Semantic roles & 50–950 ramp

primary
#071139
secondary
#796723
accent
#CE33F5
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #071139

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

Preview Lab → · Contrast checker → · Palette generator →

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