#071731#071731

#071731 is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.8% C 0.056 H 259.4°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#071731
RGBrgb(7, 23, 49)
HSLhsl(217, 75%, 11%)
HSVhsv(217, 86%, 19%)
CMYKcmyk(85.7%, 53.1%, 0%, 80.8%)
CIE-LABlab(7.95, 4.42, -19.29)
CIE-LCHlch(7.95, 19.79, 282.92°)
OKLaboklab(20.78% -0.0103 -0.0552)
OKLCHoklch(20.78% 0.056 259.4)
XYZxyz(0.9482, 0.8796, 3.0249)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#071731 #312107
analogous
#072C31 #071731 #0C0731
triadic
#071731 #310717 #173107
tetradic
#071731 #31072C #312107 #07310C
square
#071731 #31072C #312107 #07310C
split-complementary
#071731 #310C07 #2C3107
monochromatic
#040D1B #040D1B #071731 #0F3067 #16499C

Accessibility & contrast

On white

17.86
#071731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#071731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #071731
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##071731#FFFFFF#000000##FFFFFF
##0717311.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1A32
Deuteranopia (green-blind)
#041630
Tritanopia (blue-blind)
#001D21
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #071731;
/* rgb */ color: rgb(7, 23, 49);
/* oklch */ color: oklch(20.8% 0.056 259.4);
Tailwind
colors: {
  custom: {
    50: '#4d5369',
    500: '#071731',
    950: '#000000',
  },
}
SCSS
$custom: #071731;
$custom-light: #4d5369;
$custom-dark: #000000;
JSON
{
  "hex": "#071731",
  "rgb": {
    "r": 7,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 217.143,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20777,
    "c": 0.05616,
    "h": 259.4
  },
  "luminance": 0.0088
}

Semantic roles & 50–950 ramp

primary
#071731
secondary
#715323
accent
#AA36F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #071731

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

Preview Lab → · Contrast checker → · Palette generator →

#071731 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva