#071A3E#071A3E

#071A3E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.074 H 261.4°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#071A3E
RGBrgb(7, 26, 62)
HSLhsl(219, 80%, 14%)
HSVhsv(219, 89%, 24%)
CMYKcmyk(88.7%, 58.1%, 0%, 75.7%)
CIE-LABlab(10.04, 8.12, -25.28)
CIE-LCHlch(10.04, 26.55, 287.80°)
OKLaboklab(22.72% -0.0109 -0.0728)
OKLCHoklch(22.72% 0.074 261.4)
XYZxyz(1.3262, 1.1316, 4.7050)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071A3E #3E2B07
analogous
#07353E #071A3E #0F073E
triadic
#071A3E #3E071A #1A3E07
tetradic
#071A3E #3E0735 #3E2B07 #073E0F
square
#071A3E #3E0735 #3E2B07 #073E0F
split-complementary
#071A3E #3E0F07 #353E07
monochromatic
#030C1B #030C1B #071A3E #0D3175 #1348AC

Accessibility & contrast

On white

17.12
#071A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#071A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071A3E
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071A3E#FFFFFF#000000##FFFFFF
##071A3E1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#002329
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #071a3e;
/* rgb */ color: rgb(7, 26, 62);
/* oklch */ color: oklch(22.7% 0.074 261.4);
Tailwind
colors: {
  custom: {
    50: '#515573',
    500: '#071a3e',
    950: '#000000',
  },
}
SCSS
$custom: #071a3e;
$custom-light: #515573;
$custom-dark: #000000;
JSON
{
  "hex": "#071a3e",
  "rgb": {
    "r": 7,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 219.273,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22723,
    "c": 0.07358,
    "h": 261.4
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#071A3E
secondary
#7D5E24
accent
#B232F6
background
#F4F4F7
surface
#E7E8ED
border
#C3C4C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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