#080828#080828

#080828 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.1% C 0.064 H 276.5°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#080828
RGBrgb(8, 8, 40)
HSLhsl(240, 67%, 9%)
HSVhsv(240, 80%, 16%)
CMYKcmyk(80%, 80%, 0%, 84.3%)
CIE-LABlab(3.42, 8.61, -19.73)
CIE-LCHlch(3.42, 21.53, 293.58°)
OKLaboklab(16.11% 0.0072 -0.0635)
OKLCHoklch(16.11% 0.064 276.5)
XYZxyz(0.5699, 0.3784, 2.0501)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080828 #282808
analogous
#081828 #080828 #180828
triadic
#080828 #280808 #082808
tetradic
#080828 #280818 #282808 #082818
square
#080828 #280818 #282808 #082818
split-complementary
#080828 #281808 #182808
monochromatic
#05051A #05051A #080828 #12125B #1C1C8E

Accessibility & contrast

On white

19.52
#080828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080828
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080828#FFFFFF#000000##FFFFFF
##0808281.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E29
Deuteranopia (green-blind)
#000B27
Tritanopia (blue-blind)
#001016
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #080828;
/* rgb */ color: rgb(8, 8, 40);
/* oklch */ color: oklch(16.1% 0.064 276.5);
Tailwind
colors: {
  custom: {
    50: '#4b4a62',
    500: '#080828',
    950: '#000000',
  },
}
SCSS
$custom: #080828;
$custom-light: #4b4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#080828",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 40
  },
  "hsl": {
    "h": 240,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.16114,
    "c": 0.06393,
    "h": 276.5
  },
  "luminance": 0.00378
}

Semantic roles & 50–950 ramp

primary
#080828
secondary
#676725
accent
#EA3EEA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #080828

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

Preview Lab → · Contrast checker → · Palette generator →

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