#071A41#071A41

#071A41 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.0% C 0.078 H 262.3°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#071A41
RGBrgb(7, 26, 65)
HSLhsl(220, 81%, 14%)
HSVhsv(220, 89%, 25%)
CMYKcmyk(89.2%, 60%, 0%, 74.5%)
CIE-LABlab(10.30, 9.52, -26.99)
CIE-LCHlch(10.30, 28.62, 289.43°)
OKLaboklab(23% -0.0105 -0.0778)
OKLCHoklch(23% 0.078 262.3)
XYZxyz(1.4108, 1.1654, 5.1506)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071A41 #412E07
analogous
#073741 #071A41 #110741
triadic
#071A41 #41071A #1A4107
tetradic
#071A41 #410737 #412E07 #074111
square
#071A41 #410737 #412E07 #074111
split-complementary
#071A41 #411107 #374107
monochromatic
#030B1C #030B1C #071A41 #0D3078 #1346B0

Accessibility & contrast

On white

17.03
#071A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071A41
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071A41#FFFFFF#000000##FFFFFF
##071A411.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F42
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #071a41;
/* rgb */ color: rgb(7, 26, 65);
/* oklch */ color: oklch(23.0% 0.078 262.3);
Tailwind
colors: {
  custom: {
    50: '#525576',
    500: '#071a41',
    950: '#000000',
  },
}
SCSS
$custom: #071a41;
$custom-light: #525576;
$custom-dark: #000000;
JSON
{
  "hex": "#071a41",
  "rgb": {
    "r": 7,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 220.345,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23001,
    "c": 0.07849,
    "h": 262.3
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#071A41
secondary
#806224
accent
#B631F7
background
#F4F4F7
surface
#E7E8ED
border
#C3C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #071A41

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

Preview Lab → · Contrast checker → · Palette generator →

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