#080728#080728

#080728 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 15.9% C 0.066 H 277.4°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#080728
RGBrgb(8, 7, 40)
HSLhsl(242, 70%, 9%)
HSVhsv(242, 83%, 16%)
CMYKcmyk(80%, 82.5%, 0%, 84.3%)
CIE-LABlab(3.22, 9.01, -20.03)
CIE-LCHlch(3.22, 21.97, 294.22°)
OKLaboklab(15.86% 0.0084 -0.0652)
OKLCHoklch(15.86% 0.066 277.4)
XYZxyz(0.5590, 0.3567, 2.0465)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080728 #272807
analogous
#071728 #080728 #190728
triadic
#080728 #280807 #072808
tetradic
#080728 #280717 #272807 #072819
square
#080728 #280717 #272807 #072819
split-complementary
#080728 #281907 #172807
monochromatic
#05051A #05051A #080728 #12105C #1D1990

Accessibility & contrast

On white

19.60
#080728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080728
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080728#FFFFFF#000000##FFFFFF
##0807281.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D29
Deuteranopia (green-blind)
#000A27
Tritanopia (blue-blind)
#000F16
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #080728;
/* rgb */ color: rgb(8, 7, 40);
/* oklch */ color: oklch(15.9% 0.066 277.4);
Tailwind
colors: {
  custom: {
    50: '#4b4a62',
    500: '#080728',
    950: '#000000',
  },
}
SCSS
$custom: #080728;
$custom-light: #4b4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#080728",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 241.818,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15858,
    "c": 0.06577,
    "h": 277.4
  },
  "luminance": 0.00357
}

Semantic roles & 50–950 ramp

primary
#080728
secondary
#656823
accent
#ED3BE8
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #080728

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

Preview Lab → · Contrast checker → · Palette generator →

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