#080831#080831

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

Color values

HEX#080831
RGBrgb(8, 8, 49)
HSLhsl(240, 72%, 11%)
HSVhsv(240, 84%, 19%)
CMYKcmyk(83.7%, 83.7%, 0%, 80.8%)
CIE-LABlab(4.04, 12.96, -25.54)
CIE-LCHlch(4.04, 28.64, 296.91°)
OKLaboklab(17.18% 0.0059 -0.0785)
OKLCHoklch(17.18% 0.079 274.3)
XYZxyz(0.7412, 0.4470, 2.9523)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080831 #313108
analogous
#081C31 #080831 #1C0831
triadic
#080831 #310808 #083108
tetradic
#080831 #31081C #313108 #08311C
square
#080831 #31081C #313108 #08311C
split-complementary
#080831 #311C08 #1C3108
monochromatic
#04041A #04041A #080831 #111166 #19199A

Accessibility & contrast

On white

19.28
#080831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080831
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080831#FFFFFF#000000##FFFFFF
##0808311.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.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: #080831;
/* rgb */ color: rgb(8, 8, 49);
/* oklch */ color: oklch(17.2% 0.079 274.3);
Tailwind
colors: {
  custom: {
    50: '#4d4a69',
    500: '#080831',
    950: '#000000',
  },
}
SCSS
$custom: #080831;
$custom-light: #4d4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#080831",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 240,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17177,
    "c": 0.07867,
    "h": 274.3
  },
  "luminance": 0.00447
}

Semantic roles & 50–950 ramp

primary
#080831
secondary
#707025
accent
#EF39EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #080831

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

Preview Lab → · Contrast checker → · Palette generator →

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