#071536#071536

#071536 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.068 H 263.8°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#071536
RGBrgb(7, 21, 54)
HSLhsl(222, 77%, 12%)
HSVhsv(222, 87%, 21%)
CMYKcmyk(87%, 61.1%, 0%, 78.8%)
CIE-LABlab(7.66, 8.37, -23.40)
CIE-LCHlch(7.66, 24.85, 289.68°)
OKLaboklab(20.68% -0.0073 -0.0674)
OKLCHoklch(20.68% 0.068 263.8)
XYZxyz(1.0214, 0.8477, 3.5991)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071536 #362807
analogous
#072D36 #071536 #110736
triadic
#071536 #360715 #153607
tetradic
#071536 #36072D #362807 #073611
square
#071536 #36072D #362807 #073611
split-complementary
#071536 #361107 #2D3607
monochromatic
#040B1B #040B1B #071536 #0E2A6C #153FA2

Accessibility & contrast

On white

17.95
#071536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#071536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071536
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071536#FFFFFF#000000##FFFFFF
##0715361.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#001D23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071536;
/* rgb */ color: rgb(7, 21, 54);
/* oklch */ color: oklch(20.7% 0.068 263.8);
Tailwind
colors: {
  custom: {
    50: '#4f516d',
    500: '#071536',
    950: '#000000',
  },
}
SCSS
$custom: #071536;
$custom-light: #4f516d;
$custom-dark: #000000;
JSON
{
  "hex": "#071536",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 222.128,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20684,
    "c": 0.06775,
    "h": 263.8
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#071536
secondary
#765D23
accent
#BB34F4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #071536

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

Preview Lab → · Contrast checker → · Palette generator →

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