#071F44#071F44

#071F44 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.076 H 259.0°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#071F44
RGBrgb(7, 31, 68)
HSLhsl(216, 81%, 15%)
HSVhsv(216, 90%, 27%)
CMYKcmyk(89.7%, 54.4%, 0%, 73.3%)
CIE-LABlab(12.24, 6.98, -25.96)
CIE-LCHlch(12.24, 26.88, 285.05°)
OKLaboklab(24.56% -0.0145 -0.0746)
OKLCHoklch(24.56% 0.076 259)
XYZxyz(1.6206, 1.4423, 5.6607)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F44 #442C07
analogous
#073E44 #071F44 #0D0744
triadic
#071F44 #44071F #1F4407
tetradic
#071F44 #44073E #442C07 #07440D
square
#071F44 #44073E #442C07 #07440D
split-complementary
#071F44 #440D07 #3E4407
monochromatic
#030D1C #030D1C #071F44 #0D387B #1252B3

Accessibility & contrast

On white

16.30
#071F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071F44
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F44#FFFFFF#000000##FFFFFF
##071F441.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2345
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#00282E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #071f44;
/* rgb */ color: rgb(7, 31, 68);
/* oklch */ color: oklch(24.6% 0.076 259.0);
Tailwind
colors: {
  custom: {
    50: '#525a78',
    500: '#071f44',
    950: '#000000',
  },
}
SCSS
$custom: #071f44;
$custom-light: #525a78;
$custom-dark: #000000;
JSON
{
  "hex": "#071f44",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 216.393,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2456,
    "c": 0.07605,
    "h": 259
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#071F44
secondary
#835E24
accent
#A930F8
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #071F44

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

Preview Lab → · Contrast checker → · Palette generator →

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