#071A37#071A37

#071A37 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.1% C 0.062 H 258.6°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#071A37
RGBrgb(7, 26, 55)
HSLhsl(216, 77%, 12%)
HSVhsv(216, 87%, 22%)
CMYKcmyk(87.3%, 52.7%, 0%, 78.4%)
CIE-LABlab(9.48, 4.84, -21.19)
CIE-LCHlch(9.48, 21.73, 282.87°)
OKLaboklab(22.11% -0.0123 -0.0607)
OKLCHoklch(22.11% 0.062 258.6)
XYZxyz(1.1464, 1.0597, 3.7578)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071A37 #372407
analogous
#073237 #071A37 #0C0737
triadic
#071A37 #37071A #1A3707
tetradic
#071A37 #370732 #372407 #07370C
square
#071A37 #370732 #372407 #07370C
split-complementary
#071A37 #370C07 #323707
monochromatic
#030D1B #030D1B #071A37 #0E346D #154DA4

Accessibility & contrast

On white

17.33
#071A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#071A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071A37
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071A37#FFFFFF#000000##FFFFFF
##071A371.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1D38
Deuteranopia (green-blind)
#031836
Tritanopia (blue-blind)
#002125
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #071a37;
/* rgb */ color: rgb(7, 26, 55);
/* oklch */ color: oklch(22.1% 0.062 258.6);
Tailwind
colors: {
  custom: {
    50: '#4f556e',
    500: '#071a37',
    950: '#000000',
  },
}
SCSS
$custom: #071a37;
$custom-light: #4f556e;
$custom-dark: #000000;
JSON
{
  "hex": "#071a37",
  "rgb": {
    "r": 7,
    "g": 26,
    "b": 55
  },
  "hsl": {
    "h": 216.25,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2211,
    "c": 0.06195,
    "h": 258.6
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#071A37
secondary
#775623
accent
#A834F4
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#020307
muted
#78787A

Preview Lab

Preview with #071A37

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

Preview Lab → · Contrast checker → · Palette generator →

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