#071D3D#071D3D

#071D3D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.4% C 0.068 H 258.0°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#071D3D
RGBrgb(7, 29, 61)
HSLhsl(216, 79%, 13%)
HSVhsv(216, 89%, 24%)
CMYKcmyk(88.5%, 52.5%, 0%, 76.1%)
CIE-LABlab(11.00, 5.28, -23.03)
CIE-LCHlch(11.00, 23.63, 282.92°)
OKLaboklab(23.43% -0.014 -0.0661)
OKLCHoklch(23.43% 0.068 258)
XYZxyz(1.3690, 1.2607, 4.5852)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071D3D #3D2707
analogous
#07383D #071D3D #0C073D
triadic
#071D3D #3D071D #1D3D07
tetradic
#071D3D #3D0738 #3D2707 #073D0C
square
#071D3D #3D0738 #3D2707 #073D0C
split-complementary
#071D3D #3D0C07 #383D07
monochromatic
#030D1B #030D1B #071D3D #0D3774 #1451AB

Accessibility & contrast

On white

16.77
#071D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071D3D
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071D3D#FFFFFF#000000##FFFFFF
##071D3D1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C203E
Deuteranopia (green-blind)
#021B3C
Tritanopia (blue-blind)
#00252A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #071d3d;
/* rgb */ color: rgb(7, 29, 61);
/* oklch */ color: oklch(23.4% 0.068 258.0);
Tailwind
colors: {
  custom: {
    50: '#505873',
    500: '#071d3d',
    950: '#000000',
  },
}
SCSS
$custom: #071d3d;
$custom-light: #505873;
$custom-dark: #000000;
JSON
{
  "hex": "#071d3d",
  "rgb": {
    "r": 7,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 215.556,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23431,
    "c": 0.06756,
    "h": 258
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#071D3D
secondary
#7C5823
accent
#A632F6
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #071D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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