#080B31#080B31

#080B31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.074 H 272.6°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#080B31
RGBrgb(8, 11, 49)
HSLhsl(236, 72%, 11%)
HSVhsv(236, 84%, 19%)
CMYKcmyk(83.7%, 77.6%, 0%, 80.8%)
CIE-LABlab(4.63, 11.75, -24.59)
CIE-LCHlch(4.63, 27.25, 295.54°)
OKLaboklab(17.82% 0.0033 -0.0741)
OKLCHoklch(17.82% 0.074 272.6)
XYZxyz(0.7740, 0.5126, 2.9633)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080B31 #312E08
analogous
#081F31 #080B31 #190831
triadic
#080B31 #31080B #0B3108
tetradic
#080B31 #31081F #312E08 #083119
square
#080B31 #31081F #312E08 #083119
split-complementary
#080B31 #311908 #1F3108
monochromatic
#04061A #04061A #080B31 #111766 #19239A

Accessibility & contrast

On white

19.05
#080B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#080B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080B31
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080B31#FFFFFF#000000##FFFFFF
##080B311.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#000E30
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #080b31;
/* rgb */ color: rgb(8, 11, 49);
/* oklch */ color: oklch(17.8% 0.074 272.6);
Tailwind
colors: {
  custom: {
    50: '#4d4b69',
    500: '#080b31',
    950: '#000000',
  },
}
SCSS
$custom: #080b31;
$custom-light: #4d4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#080b31",
  "rgb": {
    "r": 8,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 235.61,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.17824,
    "c": 0.07423,
    "h": 272.6
  },
  "luminance": 0.00513
}

Semantic roles & 50–950 ramp

primary
#080B31
secondary
#706A25
accent
#E139EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #080B31

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

Preview Lab → · Contrast checker → · Palette generator →

#080B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva