#070731#070731

#070731 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.081 H 273.5°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#070731
RGBrgb(7, 7, 49)
HSLhsl(240, 75%, 11%)
HSVhsv(240, 86%, 19%)
CMYKcmyk(85.7%, 85.7%, 0%, 80.8%)
CIE-LABlab(3.78, 13.10, -25.95)
CIE-LCHlch(3.78, 29.07, 296.78°)
OKLaboklab(16.86% 0.005 -0.0805)
OKLCHoklch(16.86% 0.081 273.5)
XYZxyz(0.7178, 0.4188, 2.9481)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070731 #313107
analogous
#071C31 #070731 #1C0731
triadic
#070731 #310707 #073107
tetradic
#070731 #31071C #313107 #07311C
square
#070731 #31071C #313107 #07311C
split-complementary
#070731 #311C07 #1C3107
monochromatic
#04041B #04041B #070731 #0F0F67 #16169C

Accessibility & contrast

On white

19.38
#070731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#070731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070731
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070731#FFFFFF#000000##FFFFFF
##0707311.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000B30
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #070731;
/* rgb */ color: rgb(7, 7, 49);
/* oklch */ color: oklch(16.9% 0.081 273.5);
Tailwind
colors: {
  custom: {
    50: '#4c4969',
    500: '#070731',
    950: '#000000',
  },
}
SCSS
$custom: #070731;
$custom-light: #4c4969;
$custom-dark: #000000;
JSON
{
  "hex": "#070731",
  "rgb": {
    "r": 7,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 240,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.16858,
    "c": 0.08061,
    "h": 273.5
  },
  "luminance": 0.00419
}

Semantic roles & 50–950 ramp

primary
#070731
secondary
#717123
accent
#F236F2
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #070731

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

Preview Lab → · Contrast checker → · Palette generator →

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