#080431#080431

#080431 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.085 H 276.4°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#080431
RGBrgb(8, 4, 49)
HSLhsl(245, 85%, 10%)
HSVhsv(245, 92%, 19%)
CMYKcmyk(83.7%, 91.8%, 0%, 80.8%)
CIE-LABlab(3.25, 14.56, -26.79)
CIE-LCHlch(3.25, 30.50, 298.53°)
OKLaboklab(16.24% 0.0095 -0.0848)
OKLCHoklch(16.24% 0.085 276.4)
XYZxyz(0.6978, 0.3601, 2.9379)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080431 #2D3104
analogous
#041631 #080431 #1E0431
triadic
#080431 #310804 #043108
tetradic
#080431 #310416 #2D3104 #04311E
square
#080431 #310416 #2D3104 #04311E
split-complementary
#080431 #311E04 #163104
monochromatic
#05021C #05021C #080431 #11096A #1A0DA2

Accessibility & contrast

On white

19.59
#080431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#080431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080431
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080431#FFFFFF#000000##FFFFFF
##0804311.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000A30
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #080431;
/* rgb */ color: rgb(8, 4, 49);
/* oklch */ color: oklch(16.2% 0.085 276.4);
Tailwind
colors: {
  custom: {
    50: '#4d4869',
    500: '#080431',
    950: '#000000',
  },
}
SCSS
$custom: #080431;
$custom-light: #4d4869;
$custom-dark: #000000;
JSON
{
  "hex": "#080431",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 245.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16238,
    "c": 0.08531,
    "h": 276.4
  },
  "luminance": 0.0036
}

Semantic roles & 50–950 ramp

primary
#080431
secondary
#6C731D
accent
#FB2DE9
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #080431

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

Preview Lab → · Contrast checker → · Palette generator →

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