#071D3C#071D3C

#071D3C is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.3% C 0.066 H 257.5°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#071D3C
RGBrgb(7, 29, 60)
HSLhsl(215, 79%, 13%)
HSVhsv(215, 88%, 24%)
CMYKcmyk(88.3%, 51.7%, 0%, 76.5%)
CIE-LABlab(10.92, 4.82, -22.45)
CIE-LCHlch(10.92, 22.96, 282.11°)
OKLaboklab(23.35% -0.0143 -0.0644)
OKLCHoklch(23.35% 0.066 257.5)
XYZxyz(1.3423, 1.2500, 4.4446)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071D3C #3C2607
analogous
#07373C #071D3C #0B073C
triadic
#071D3C #3C071D #1D3C07
tetradic
#071D3C #3C0737 #3C2607 #073C0B
square
#071D3C #3C0737 #3C2607 #073C0B
split-complementary
#071D3C #3C0B07 #373C07
monochromatic
#030D1B #030D1B #071D3C #0D3773 #1452AA

Accessibility & contrast

On white

16.80
#071D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071D3C
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071D3C#FFFFFF#000000##FFFFFF
##071D3C1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D203D
Deuteranopia (green-blind)
#031B3B
Tritanopia (blue-blind)
#002429
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #071d3c;
/* rgb */ color: rgb(7, 29, 60);
/* oklch */ color: oklch(23.3% 0.066 257.5);
Tailwind
colors: {
  custom: {
    50: '#505872',
    500: '#071d3c',
    950: '#000000',
  },
}
SCSS
$custom: #071d3c;
$custom-light: #505872;
$custom-dark: #000000;
JSON
{
  "hex": "#071d3c",
  "rgb": {
    "r": 7,
    "g": 29,
    "b": 60
  },
  "hsl": {
    "h": 215.094,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23347,
    "c": 0.06592,
    "h": 257.5
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#071D3C
secondary
#7B5723
accent
#A432F6
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020308
muted
#78787B

Preview Lab

Preview with #071D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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