#071B37#071B37

#071B37 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.061 H 257.3°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#071B37
RGBrgb(7, 27, 55)
HSLhsl(215, 77%, 12%)
HSVhsv(215, 87%, 22%)
CMYKcmyk(87.3%, 50.9%, 0%, 78.4%)
CIE-LABlab(9.83, 4.05, -20.62)
CIE-LCHlch(9.83, 21.01, 281.13°)
OKLaboklab(22.39% -0.0133 -0.059)
OKLCHoklch(22.39% 0.061 257.3)
XYZxyz(1.1689, 1.1047, 3.7653)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071B37 #372307
analogous
#073337 #071B37 #0B0737
triadic
#071B37 #37071B #1B3707
tetradic
#071B37 #370733 #372307 #07370B
square
#071B37 #370733 #372307 #07370B
split-complementary
#071B37 #370B07 #333707
monochromatic
#030D1B #030D1B #071B37 #0E366D #1550A4

Accessibility & contrast

On white

17.20
#071B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#071B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071B37
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071B37#FFFFFF#000000##FFFFFF
##071B371.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E38
Deuteranopia (green-blind)
#051936
Tritanopia (blue-blind)
#002226
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #071b37;
/* rgb */ color: rgb(7, 27, 55);
/* oklch */ color: oklch(22.4% 0.061 257.3);
Tailwind
colors: {
  custom: {
    50: '#4f566e',
    500: '#071b37',
    950: '#000000',
  },
}
SCSS
$custom: #071b37;
$custom-light: #4f566e;
$custom-dark: #000000;
JSON
{
  "hex": "#071b37",
  "rgb": {
    "r": 7,
    "g": 27,
    "b": 55
  },
  "hsl": {
    "h": 215,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22385,
    "c": 0.06051,
    "h": 257.3
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#071B37
secondary
#775423
accent
#A434F4
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #071B37

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

Preview Lab → · Contrast checker → · Palette generator →

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