#071D3E#071D3E

#071D3E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.5% C 0.069 H 258.5°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#071D3E
RGBrgb(7, 29, 62)
HSLhsl(216, 80%, 14%)
HSVhsv(216, 89%, 24%)
CMYKcmyk(88.7%, 53.2%, 0%, 75.7%)
CIE-LABlab(11.07, 5.75, -23.62)
CIE-LCHlch(11.07, 24.31, 283.69°)
OKLaboklab(23.52% -0.0138 -0.0678)
OKLCHoklch(23.52% 0.069 258.5)
XYZxyz(1.3962, 1.2715, 4.7283)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071D3E #3E2807
analogous
#07383E #071D3E #0C073E
triadic
#071D3E #3E071D #1D3E07
tetradic
#071D3E #3E0738 #3E2807 #073E0C
square
#071D3E #3E0738 #3E2807 #073E0C
split-complementary
#071D3E #3E0C07 #383E07
monochromatic
#030D1B #030D1B #071D3E #0D3775 #1350AC

Accessibility & contrast

On white

16.74
#071D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#071D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071D3E
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071D3E#FFFFFF#000000##FFFFFF
##071D3E1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B203F
Deuteranopia (green-blind)
#011B3D
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #071d3e;
/* rgb */ color: rgb(7, 29, 62);
/* oklch */ color: oklch(23.5% 0.069 258.5);
Tailwind
colors: {
  custom: {
    50: '#515873',
    500: '#071d3e',
    950: '#000000',
  },
}
SCSS
$custom: #071d3e;
$custom-light: #515873;
$custom-dark: #000000;
JSON
{
  "hex": "#071d3e",
  "rgb": {
    "r": 7,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 216,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23515,
    "c": 0.0692,
    "h": 258.5
  },
  "luminance": 0.01272
}

Semantic roles & 50–950 ramp

primary
#071D3E
secondary
#7D5924
accent
#A832F6
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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