#071D4E#071D4E

#071D4E is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.095 H 263.0°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#071D4E
RGBrgb(7, 29, 78)
HSLhsl(221, 84%, 17%)
HSVhsv(221, 91%, 31%)
CMYKcmyk(91%, 62.8%, 0%, 69.4%)
CIE-LABlab(12.44, 13.15, -32.55)
CIE-LCHlch(12.44, 35.11, 292.00°)
OKLaboklab(24.99% -0.0116 -0.0941)
OKLCHoklch(24.99% 0.095 263)
XYZxyz(1.9016, 1.4737, 7.3905)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071D4E #4E3807
analogous
#07414E #071D4E #14074E
triadic
#071D4E #4E071D #1D4E07
tetradic
#071D4E #4E0741 #4E3807 #074E14
square
#071D4E #4E0741 #4E3807 #074E14
split-complementary
#071D4E #4E1407 #414E07
monochromatic
#030A1C #030A1C #071D4E #0C3286 #1147BE

Accessibility & contrast

On white

16.22
#071D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#071D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071D4E
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071D4E#FFFFFF#000000##FFFFFF
##071D4E1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #071d4e;
/* rgb */ color: rgb(7, 29, 78);
/* oklch */ color: oklch(25.0% 0.095 263.0);
Tailwind
colors: {
  custom: {
    50: '#565880',
    500: '#071d4e',
    950: '#000000',
  },
}
SCSS
$custom: #071d4e;
$custom-light: #565880;
$custom-dark: #000000;
JSON
{
  "hex": "#071d4e",
  "rgb": {
    "r": 7,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 221.408,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24987,
    "c": 0.09479,
    "h": 263
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#071D4E
secondary
#8C6C25
accent
#BB2EFA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03030A
muted
#78787C

Preview Lab

Preview with #071D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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