#080131#080131

#080131 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.5% C 0.091 H 277.8°. Best body text is #FFFFFF at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#080131
RGBrgb(8, 1, 49)
HSLhsl(249, 96%, 10%)
HSVhsv(249, 98%, 19%)
CMYKcmyk(83.7%, 98%, 0%, 80.8%)
CIE-LABlab(2.66, 15.76, -27.73)
CIE-LCHlch(2.66, 31.90, 299.61°)
OKLaboklab(15.46% 0.0124 -0.0901)
OKLCHoklch(15.46% 0.091 277.8)
XYZxyz(0.6652, 0.2950, 2.9270)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080131 #2A3101
analogous
#011231 #080131 #200131
triadic
#080131 #310801 #013108
tetradic
#080131 #310112 #2A3101 #013120
square
#080131 #310112 #2A3101 #013120
split-complementary
#080131 #312001 #123101
monochromatic
#05011E #05011E #080131 #12026D #1C03A9

Accessibility & contrast

On white

19.83
#080131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#080131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080131
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080131#FFFFFF#000000##FFFFFF
##0801311.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C32
Deuteranopia (green-blind)
#000830
Tritanopia (blue-blind)
#000F19
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #080131;
/* rgb */ color: rgb(8, 1, 49);
/* oklch */ color: oklch(15.5% 0.091 277.8);
Tailwind
colors: {
  custom: {
    50: '#4c4669',
    500: '#080131',
    950: '#000000',
  },
}
SCSS
$custom: #080131;
$custom-light: #4c4669;
$custom-dark: #000000;
JSON
{
  "hex": "#080131",
  "rgb": {
    "r": 8,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 248.75,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15455,
    "c": 0.09097,
    "h": 277.8
  },
  "luminance": 0.00295
}

Semantic roles & 50–950 ramp

primary
#080131
secondary
#697717
accent
#FF29E0
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #080131

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

Preview Lab → · Contrast checker → · Palette generator →

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