#070831#070831

#070831 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.1% C 0.079 H 273.0°. Best body text is #FFFFFF at 19.30:1 contrast (WCAG AA passes).

Color values

HEX#070831
RGBrgb(7, 8, 49)
HSLhsl(239, 75%, 11%)
HSVhsv(239, 86%, 19%)
CMYKcmyk(85.7%, 83.7%, 0%, 80.8%)
CIE-LABlab(3.98, 12.70, -25.63)
CIE-LCHlch(3.98, 28.61, 296.35°)
OKLaboklab(17.09% 0.0042 -0.0789)
OKLCHoklch(17.09% 0.079 273)
XYZxyz(0.7286, 0.4405, 2.9518)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070831 #313007
analogous
#071D31 #070831 #1B0731
triadic
#070831 #310708 #083107
tetradic
#070831 #31071D #313007 #07311B
square
#070831 #31071D #313007 #07311B
split-complementary
#070831 #311B07 #1D3107
monochromatic
#04041B #04041B #070831 #0F1167 #16199C

Accessibility & contrast

On white

19.30
#070831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#070831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070831
19.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070831#FFFFFF#000000##FFFFFF
##0708311.0019.301.0919.30
#FFFFFF19.301.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001032
Deuteranopia (green-blind)
#000C30
Tritanopia (blue-blind)
#00131B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #070831;
/* rgb */ color: rgb(7, 8, 49);
/* oklch */ color: oklch(17.1% 0.079 273.0);
Tailwind
colors: {
  custom: {
    50: '#4c4a69',
    500: '#070831',
    950: '#000000',
  },
}
SCSS
$custom: #070831;
$custom-light: #4c4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#070831",
  "rgb": {
    "r": 7,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 238.571,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.17086,
    "c": 0.07905,
    "h": 273
  },
  "luminance": 0.00441
}

Semantic roles & 50–950 ramp

primary
#070831
secondary
#716F23
accent
#ED36F2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #070831

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

Preview Lab → · Contrast checker → · Palette generator →

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