#071440#071440

#071440 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.086 H 266.2°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#071440
RGBrgb(7, 20, 64)
HSLhsl(226, 80%, 14%)
HSVhsv(226, 89%, 25%)
CMYKcmyk(89.1%, 68.8%, 0%, 74.9%)
CIE-LABlab(8.27, 13.83, -29.59)
CIE-LCHlch(8.27, 32.66, 295.05°)
OKLaboklab(21.44% -0.0057 -0.0855)
OKLCHoklch(21.44% 0.086 266.2)
XYZxyz(1.2629, 0.9155, 4.9596)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071440 #403307
analogous
#073140 #071440 #170740
triadic
#071440 #400714 #144007
tetradic
#071440 #400731 #403307 #074017
square
#071440 #400731 #403307 #074017
split-complementary
#071440 #401707 #314007
monochromatic
#03091C #03091C #071440 #0D2577 #1336AE

Accessibility & contrast

On white

17.75
#071440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#071440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071440
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071440#FFFFFF#000000##FFFFFF
##0714401.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #071440;
/* rgb */ color: rgb(7, 20, 64);
/* oklch */ color: oklch(21.4% 0.086 266.2);
Tailwind
colors: {
  custom: {
    50: '#525175',
    500: '#071440',
    950: '#000000',
  },
}
SCSS
$custom: #071440;
$custom-light: #525175;
$custom-dark: #000000;
JSON
{
  "hex": "#071440",
  "rgb": {
    "r": 7,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 226.316,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21441,
    "c": 0.08573,
    "h": 266.2
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#071440
secondary
#7F6A24
accent
#CA31F7
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071440

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

Preview Lab → · Contrast checker → · Palette generator →

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