#071640#071640

#071640 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.9% C 0.083 H 265.0°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#071640
RGBrgb(7, 22, 64)
HSLhsl(224, 80%, 14%)
HSVhsv(224, 89%, 25%)
CMYKcmyk(89.1%, 65.6%, 0%, 74.9%)
CIE-LABlab(8.90, 12.24, -28.56)
CIE-LCHlch(8.90, 31.07, 293.20°)
OKLaboklab(21.91% -0.0073 -0.0825)
OKLCHoklch(21.91% 0.083 265)
XYZxyz(1.2996, 0.9890, 4.9719)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071640 #403107
analogous
#073340 #071640 #150740
triadic
#071640 #400716 #164007
tetradic
#071640 #400733 #403107 #074015
square
#071640 #400733 #403107 #074015
split-complementary
#071640 #401507 #334007
monochromatic
#03091C #03091C #071640 #0D2977 #133CAE

Accessibility & contrast

On white

17.53
#071640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#071640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071640
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071640#FFFFFF#000000##FFFFFF
##0716401.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #071640;
/* rgb */ color: rgb(7, 22, 64);
/* oklch */ color: oklch(21.9% 0.083 265.0);
Tailwind
colors: {
  custom: {
    50: '#525275',
    500: '#071640',
    950: '#000000',
  },
}
SCSS
$custom: #071640;
$custom-light: #525275;
$custom-dark: #000000;
JSON
{
  "hex": "#071640",
  "rgb": {
    "r": 7,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 224.211,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21914,
    "c": 0.0828,
    "h": 265
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#071640
secondary
#7F6724
accent
#C331F7
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071640

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

Preview Lab → · Contrast checker → · Palette generator →

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