#071740#071740

#071740 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.081 H 264.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#071740
RGBrgb(7, 23, 64)
HSLhsl(223, 80%, 14%)
HSVhsv(223, 89%, 25%)
CMYKcmyk(89.1%, 64.1%, 0%, 74.9%)
CIE-LABlab(9.22, 11.44, -28.03)
CIE-LCHlch(9.22, 30.27, 292.20°)
OKLaboklab(22.16% -0.0081 -0.0809)
OKLCHoklch(22.16% 0.081 264.3)
XYZxyz(1.3191, 1.0280, 4.9784)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071740 #403007
analogous
#073440 #071740 #140740
triadic
#071740 #400717 #174007
tetradic
#071740 #400734 #403007 #074014
square
#071740 #400734 #403007 #074014
split-complementary
#071740 #401407 #344007
monochromatic
#030A1C #030A1C #071740 #0D2B77 #133FAE

Accessibility & contrast

On white

17.42
#071740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#071740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071740
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071740#FFFFFF#000000##FFFFFF
##0717401.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #071740;
/* rgb */ color: rgb(7, 23, 64);
/* oklch */ color: oklch(22.2% 0.081 264.3);
Tailwind
colors: {
  custom: {
    50: '#525375',
    500: '#071740',
    950: '#000000',
  },
}
SCSS
$custom: #071740;
$custom-light: #525375;
$custom-dark: #000000;
JSON
{
  "hex": "#071740",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 223.158,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22157,
    "c": 0.08131,
    "h": 264.3
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#071740
secondary
#7F6524
accent
#BF31F7
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #071740

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

Preview Lab → · Contrast checker → · Palette generator →

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