#071A3D#071A3D

#071A3D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.072 H 261.1°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#071A3D
RGBrgb(7, 26, 61)
HSLhsl(219, 79%, 13%)
HSVhsv(219, 89%, 24%)
CMYKcmyk(88.5%, 57.4%, 0%, 76.1%)
CIE-LABlab(9.96, 7.65, -24.71)
CIE-LCHlch(9.96, 25.86, 287.21°)
OKLaboklab(22.63% -0.0111 -0.0711)
OKLCHoklch(22.63% 0.072 261.1)
XYZxyz(1.2990, 1.1207, 4.5618)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071A3D #3D2A07
analogous
#07353D #071A3D #0F073D
triadic
#071A3D #3D071A #1A3D07
tetradic
#071A3D #3D0735 #3D2A07 #073D0F
square
#071A3D #3D0735 #3D2A07 #073D0F
split-complementary
#071A3D #3D0F07 #353D07
monochromatic
#030C1B #030C1B #071A3D #0D3174 #1449AB

Accessibility & contrast

On white

17.15
#071A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#071A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071A3D
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071A3D#FFFFFF#000000##FFFFFF
##071A3D1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#002228
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #071a3d;
/* rgb */ color: rgb(7, 26, 61);
/* oklch */ color: oklch(22.6% 0.072 261.1);
Tailwind
colors: {
  custom: {
    50: '#505573',
    500: '#071a3d',
    950: '#000000',
  },
}
SCSS
$custom: #071a3d;
$custom-light: #505573;
$custom-dark: #000000;
JSON
{
  "hex": "#071a3d",
  "rgb": {
    "r": 7,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 218.889,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22633,
    "c": 0.07193,
    "h": 261.1
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#071A3D
secondary
#7C5D23
accent
#B132F6
background
#F4F4F7
surface
#E7E8ED
border
#C3C4C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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