#071534#071534

#071534 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.5% C 0.064 H 263.2°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#071534
RGBrgb(7, 21, 52)
HSLhsl(221, 76%, 12%)
HSVhsv(221, 87%, 20%)
CMYKcmyk(86.5%, 59.6%, 0%, 79.6%)
CIE-LABlab(7.49, 7.40, -22.21)
CIE-LCHlch(7.49, 23.41, 288.43°)
OKLaboklab(20.5% -0.0076 -0.0639)
OKLCHoklch(20.5% 0.064 263.2)
XYZxyz(0.9754, 0.8293, 3.3568)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071534 #342607
analogous
#072C34 #071534 #100734
triadic
#071534 #340715 #153407
tetradic
#071534 #34072C #342607 #073410
square
#071534 #34072C #342607 #073410
split-complementary
#071534 #341007 #2C3407
monochromatic
#040B1B #040B1B #071534 #0E2B6A #1641A0

Accessibility & contrast

On white

18.01
#071534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071534
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071534#FFFFFF#000000##FFFFFF
##0715341.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041935
Deuteranopia (green-blind)
#001533
Tritanopia (blue-blind)
#001C22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071534;
/* rgb */ color: rgb(7, 21, 52);
/* oklch */ color: oklch(20.5% 0.064 263.2);
Tailwind
colors: {
  custom: {
    50: '#4e516c',
    500: '#071534',
    950: '#000000',
  },
}
SCSS
$custom: #071534;
$custom-light: #4e516c;
$custom-dark: #000000;
JSON
{
  "hex": "#071534",
  "rgb": {
    "r": 7,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 221.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20498,
    "c": 0.06435,
    "h": 263.2
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#071534
secondary
#745B23
accent
#B835F3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #071534

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

Preview Lab → · Contrast checker → · Palette generator →

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