#080731#080731

#080731 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.080 H 274.9°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#080731
RGBrgb(8, 7, 49)
HSLhsl(241, 75%, 11%)
HSVhsv(241, 86%, 19%)
CMYKcmyk(83.7%, 85.7%, 0%, 80.8%)
CIE-LABlab(3.84, 13.36, -25.85)
CIE-LCHlch(3.84, 29.10, 297.33°)
OKLaboklab(16.95% 0.0068 -0.08)
OKLCHoklch(16.95% 0.08 274.9)
XYZxyz(0.7303, 0.4253, 2.9487)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080731 #303107
analogous
#071B31 #080731 #1D0731
triadic
#080731 #310807 #073108
tetradic
#080731 #31071B #303107 #07311D
square
#080731 #31071B #303107 #07311D
split-complementary
#080731 #311D07 #1B3107
monochromatic
#04041B #04041B #080731 #110F67 #19169C

Accessibility & contrast

On white

19.35
#080731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080731
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080731#FFFFFF#000000##FFFFFF
##0807311.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.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: #080731;
/* rgb */ color: rgb(8, 7, 49);
/* oklch */ color: oklch(17.0% 0.080 274.9);
Tailwind
colors: {
  custom: {
    50: '#4d4969',
    500: '#080731',
    950: '#000000',
  },
}
SCSS
$custom: #080731;
$custom-light: #4d4969;
$custom-dark: #000000;
JSON
{
  "hex": "#080731",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 49
  },
  "hsl": {
    "h": 241.429,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.16952,
    "c": 0.08025,
    "h": 274.9
  },
  "luminance": 0.00425
}

Semantic roles & 50–950 ramp

primary
#080731
secondary
#6F7123
accent
#F236ED
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #080731

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

Preview Lab → · Contrast checker → · Palette generator →

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