#071F43#071F43

#071F43 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.074 H 258.6°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#071F43
RGBrgb(7, 31, 67)
HSLhsl(216, 81%, 15%)
HSVhsv(216, 90%, 26%)
CMYKcmyk(89.6%, 53.7%, 0%, 73.7%)
CIE-LABlab(12.16, 6.52, -25.39)
CIE-LCHlch(12.16, 26.21, 284.40°)
OKLaboklab(24.47% -0.0147 -0.073)
OKLCHoklch(24.47% 0.074 258.6)
XYZxyz(1.5904, 1.4302, 5.5013)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071F43 #432B07
analogous
#073D43 #071F43 #0D0743
triadic
#071F43 #43071F #1F4307
tetradic
#071F43 #43073D #432B07 #07430D
square
#071F43 #43073D #432B07 #07430D
split-complementary
#071F43 #430D07 #3D4307
monochromatic
#030D1C #030D1C #071F43 #0D397A #1352B2

Accessibility & contrast

On white

16.33
#071F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #071F43
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071F43#FFFFFF#000000##FFFFFF
##071F431.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2344
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#00282D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #071f43;
/* rgb */ color: rgb(7, 31, 67);
/* oklch */ color: oklch(24.5% 0.074 258.6);
Tailwind
colors: {
  custom: {
    50: '#525a77',
    500: '#071f43',
    950: '#000000',
  },
}
SCSS
$custom: #071f43;
$custom-light: #525a77;
$custom-dark: #000000;
JSON
{
  "hex": "#071f43",
  "rgb": {
    "r": 7,
    "g": 31,
    "b": 67
  },
  "hsl": {
    "h": 216,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24474,
    "c": 0.07444,
    "h": 258.6
  },
  "luminance": 0.0143
}

Semantic roles & 50–950 ramp

primary
#071F43
secondary
#825C24
accent
#A830F7
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #071F43

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

Preview Lab → · Contrast checker → · Palette generator →

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