#071F41#071F41

#071F41 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.071 H 257.7°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#071F41
RGBrgb(7, 31, 65)
HSLhsl(215, 81%, 14%)
HSVhsv(215, 89%, 25%)
CMYKcmyk(89.2%, 52.3%, 0%, 74.5%)
CIE-LABlab(12.00, 5.59, -24.24)
CIE-LCHlch(12.00, 24.88, 282.98°)
OKLaboklab(24.3% -0.0151 -0.0696)
OKLCHoklch(24.3% 0.071 257.7)
XYZxyz(1.5314, 1.4066, 5.1908)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F41 #412907
analogous
#073C41 #071F41 #0C0741
triadic
#071F41 #41071F #1F4107
tetradic
#071F41 #41073C #412907 #07410C
square
#071F41 #41073C #412907 #07410C
split-complementary
#071F41 #410C07 #3C4107
monochromatic
#030D1C #030D1C #071F41 #0D3978 #1354B0

Accessibility & contrast

On white

16.39
#071F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#071F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071F41
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F41#FFFFFF#000000##FFFFFF
##071F411.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2242
Deuteranopia (green-blind)
#021D40
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #071f41;
/* rgb */ color: rgb(7, 31, 65);
/* oklch */ color: oklch(24.3% 0.071 257.7);
Tailwind
colors: {
  custom: {
    50: '#515a76',
    500: '#071f41',
    950: '#000000',
  },
}
SCSS
$custom: #071f41;
$custom-light: #515a76;
$custom-dark: #000000;
JSON
{
  "hex": "#071f41",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 215.172,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24304,
    "c": 0.07121,
    "h": 257.7
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#071F41
secondary
#805A24
accent
#A531F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #071F41

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

Preview Lab → · Contrast checker → · Palette generator →

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