#071B3A#071B3A

#071B3A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.066 H 258.9°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#071B3A
RGBrgb(7, 27, 58)
HSLhsl(216, 78%, 13%)
HSVhsv(216, 88%, 23%)
CMYKcmyk(87.9%, 53.4%, 0%, 77.3%)
CIE-LABlab(10.06, 5.45, -22.40)
CIE-LCHlch(10.06, 23.05, 283.69°)
OKLaboklab(22.64% -0.0127 -0.0643)
OKLCHoklch(22.64% 0.066 258.9)
XYZxyz(1.2430, 1.1344, 4.1556)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071B3A #3A2607
analogous
#07343A #071B3A #0D073A
triadic
#071B3A #3A071B #1B3A07
tetradic
#071B3A #3A0734 #3A2607 #073A0D
square
#071B3A #3A0734 #3A2607 #073A0D
split-complementary
#071B3A #3A0D07 #343A07
monochromatic
#030D1B #030D1B #071B3A #0E3471 #144EA7

Accessibility & contrast

On white

17.11
#071B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#071B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071B3A
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071B3A#FFFFFF#000000##FFFFFF
##071B3A1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3B
Deuteranopia (green-blind)
#021939
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #071b3a;
/* rgb */ color: rgb(7, 27, 58);
/* oklch */ color: oklch(22.6% 0.066 258.9);
Tailwind
colors: {
  custom: {
    50: '#4f5670',
    500: '#071b3a',
    950: '#000000',
  },
}
SCSS
$custom: #071b3a;
$custom-light: #4f5670;
$custom-dark: #000000;
JSON
{
  "hex": "#071b3a",
  "rgb": {
    "r": 7,
    "g": 27,
    "b": 58
  },
  "hsl": {
    "h": 216.471,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22636,
    "c": 0.0655,
    "h": 258.9
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#071B3A
secondary
#795823
accent
#A933F5
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #071B3A

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

Preview Lab → · Contrast checker → · Palette generator →

#071B3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva