#080C31#080C31

#080C31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.073 H 271.9°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#080C31
RGBrgb(8, 12, 49)
HSLhsl(234, 72%, 11%)
HSVhsv(234, 84%, 19%)
CMYKcmyk(83.7%, 75.5%, 0%, 80.8%)
CIE-LABlab(4.84, 11.31, -24.25)
CIE-LCHlch(4.84, 26.76, 295.01°)
OKLaboklab(18.05% 0.0024 -0.0727)
OKLCHoklch(18.05% 0.073 271.9)
XYZxyz(0.7858, 0.5362, 2.9672)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C31 #312D08
analogous
#082031 #080C31 #180831
triadic
#080C31 #31080C #0C3108
tetradic
#080C31 #310820 #312D08 #083118
square
#080C31 #310820 #312D08 #083118
split-complementary
#080C31 #311808 #203108
monochromatic
#04061A #04061A #080C31 #111966 #19269A

Accessibility & contrast

On white

18.97
#080C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#080C31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080C31
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C31#FFFFFF#000000##FFFFFF
##080C311.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #080c31;
/* rgb */ color: rgb(8, 12, 49);
/* oklch */ color: oklch(18.0% 0.073 271.9);
Tailwind
colors: {
  custom: {
    50: '#4d4c69',
    500: '#080c31',
    950: '#000000',
  },
}
SCSS
$custom: #080c31;
$custom-light: #4d4c69;
$custom-dark: #000000;
JSON
{
  "hex": "#080c31",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 49
  },
  "hsl": {
    "h": 234.146,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18046,
    "c": 0.07273,
    "h": 271.9
  },
  "luminance": 0.00536
}

Semantic roles & 50–950 ramp

primary
#080C31
secondary
#706925
accent
#DD39EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #080C31

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

Preview Lab → · Contrast checker → · Palette generator →

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