#071D40#071D40

#071D40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.072 H 259.3°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#071D40
RGBrgb(7, 29, 64)
HSLhsl(217, 80%, 14%)
HSVhsv(217, 89%, 25%)
CMYKcmyk(89.1%, 54.7%, 0%, 74.9%)
CIE-LABlab(11.23, 6.68, -24.77)
CIE-LCHlch(11.23, 25.66, 285.10°)
OKLaboklab(23.69% -0.0134 -0.0712)
OKLCHoklch(23.69% 0.072 259.3)
XYZxyz(1.4521, 1.2939, 5.0227)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071D40 #402A07
analogous
#073A40 #071D40 #0E0740
triadic
#071D40 #40071D #1D4007
tetradic
#071D40 #40073A #402A07 #07400E
square
#071D40 #40073A #402A07 #07400E
split-complementary
#071D40 #400E07 #3A4007
monochromatic
#030C1C #030C1C #071D40 #0D3677 #134FAE

Accessibility & contrast

On white

16.68
#071D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#071D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071D40
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071D40#FFFFFF#000000##FFFFFF
##071D401.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092141
Deuteranopia (green-blind)
#001C3F
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #071d40;
/* rgb */ color: rgb(7, 29, 64);
/* oklch */ color: oklch(23.7% 0.072 259.3);
Tailwind
colors: {
  custom: {
    50: '#515875',
    500: '#071d40',
    950: '#000000',
  },
}
SCSS
$custom: #071d40;
$custom-light: #515875;
$custom-dark: #000000;
JSON
{
  "hex": "#071d40",
  "rgb": {
    "r": 7,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 216.842,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23687,
    "c": 0.07246,
    "h": 259.3
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#071D40
secondary
#7F5C24
accent
#AA31F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071D40

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

Preview Lab → · Contrast checker → · Palette generator →

#071D40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva