#071535#071535

#071535 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.066 H 263.5°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#071535
RGBrgb(7, 21, 53)
HSLhsl(222, 77%, 12%)
HSVhsv(222, 87%, 21%)
CMYKcmyk(86.8%, 60.4%, 0%, 79.2%)
CIE-LABlab(7.57, 7.89, -22.81)
CIE-LCHlch(7.57, 24.13, 289.08°)
OKLaboklab(20.59% -0.0074 -0.0656)
OKLCHoklch(20.59% 0.066 263.5)
XYZxyz(0.9982, 0.8384, 3.4767)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071535 #352707
analogous
#072C35 #071535 #100735
triadic
#071535 #350715 #153507
tetradic
#071535 #35072C #352707 #073510
square
#071535 #35072C #352707 #073510
split-complementary
#071535 #351007 #2C3507
monochromatic
#040B1B #040B1B #071535 #0E2A6B #1540A1

Accessibility & contrast

On white

17.98
#071535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071535
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071535#FFFFFF#000000##FFFFFF
##0715351.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#001534
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071535;
/* rgb */ color: rgb(7, 21, 53);
/* oklch */ color: oklch(20.6% 0.066 263.5);
Tailwind
colors: {
  custom: {
    50: '#4e516c',
    500: '#071535',
    950: '#000000',
  },
}
SCSS
$custom: #071535;
$custom-light: #4e516c;
$custom-dark: #000000;
JSON
{
  "hex": "#071535",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 221.739,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20591,
    "c": 0.06605,
    "h": 263.5
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#071535
secondary
#755C23
accent
#B935F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #071535

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

Preview Lab → · Contrast checker → · Palette generator →

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