#080628#080628

#080628 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.6% C 0.068 H 278.3°. Best body text is #FFFFFF at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#080628
RGBrgb(8, 6, 40)
HSLhsl(244, 74%, 9%)
HSVhsv(244, 85%, 16%)
CMYKcmyk(80%, 85%, 0%, 84.3%)
CIE-LABlab(3.03, 9.41, -20.34)
CIE-LCHlch(3.03, 22.41, 294.82°)
OKLaboklab(15.59% 0.0097 -0.067)
OKLCHoklch(15.59% 0.068 278.3)
XYZxyz(0.5481, 0.3350, 2.0429)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080628 #262806
analogous
#061528 #080628 #190628
triadic
#080628 #280806 #062808
tetradic
#080628 #280615 #262806 #062819
square
#080628 #280615 #262806 #062819
split-complementary
#080628 #281906 #152806
monochromatic
#05041B #05041B #080628 #130E5D #1D1692

Accessibility & contrast

On white

19.68
#080628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080628
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080628#FFFFFF#000000##FFFFFF
##0806281.0019.681.0719.68
#FFFFFF19.681.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C29
Deuteranopia (green-blind)
#000A27
Tritanopia (blue-blind)
#000F15
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #080628;
/* rgb */ color: rgb(8, 6, 40);
/* oklch */ color: oklch(15.6% 0.068 278.3);
Tailwind
colors: {
  custom: {
    50: '#4b4962',
    500: '#080628',
    950: '#000000',
  },
}
SCSS
$custom: #080628;
$custom-light: #4b4962;
$custom-dark: #000000;
JSON
{
  "hex": "#080628",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 243.529,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15593,
    "c": 0.06768,
    "h": 278.3
  },
  "luminance": 0.00335
}

Semantic roles & 50–950 ramp

primary
#080628
secondary
#646921
accent
#F137E6
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #080628

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

Preview Lab → · Contrast checker → · Palette generator →

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