#080631#080631

#080631 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.082 H 275.4°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#080631
RGBrgb(8, 6, 49)
HSLhsl(243, 78%, 11%)
HSVhsv(243, 88%, 19%)
CMYKcmyk(83.7%, 87.8%, 0%, 80.8%)
CIE-LABlab(3.65, 13.76, -26.16)
CIE-LCHlch(3.65, 29.56, 297.74°)
OKLaboklab(16.72% 0.0077 -0.0815)
OKLCHoklch(16.72% 0.082 275.4)
XYZxyz(0.7195, 0.4036, 2.9451)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080631 #2F3106
analogous
#061931 #080631 #1D0631
triadic
#080631 #310806 #063108
tetradic
#080631 #310619 #2F3106 #06311D
square
#080631 #310619 #2F3106 #06311D
split-complementary
#080631 #311D06 #193106
monochromatic
#04031B #04031B #080631 #110D68 #1A139E

Accessibility & contrast

On white

19.43
#080631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080631
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080631#FFFFFF#000000##FFFFFF
##0806311.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #080631;
/* rgb */ color: rgb(8, 6, 49);
/* oklch */ color: oklch(16.7% 0.082 275.4);
Tailwind
colors: {
  custom: {
    50: '#4d4969',
    500: '#080631',
    950: '#000000',
  },
}
SCSS
$custom: #080631;
$custom-light: #4d4969;
$custom-dark: #000000;
JSON
{
  "hex": "#080631",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 49
  },
  "hsl": {
    "h": 242.791,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.1672,
    "c": 0.08187,
    "h": 275.4
  },
  "luminance": 0.00404
}

Semantic roles & 50–950 ramp

primary
#080631
secondary
#6E7221
accent
#F533EC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #080631

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

Preview Lab → · Contrast checker → · Palette generator →

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