#080839#080839

#080839 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.091 H 272.7°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#080839
RGBrgb(8, 8, 57)
HSLhsl(240, 75%, 13%)
HSVhsv(240, 86%, 22%)
CMYKcmyk(86%, 86%, 0%, 77.6%)
CIE-LABlab(4.70, 17.52, -30.36)
CIE-LCHlch(4.70, 35.05, 300.00°)
OKLaboklab(18.19% 0.0043 -0.0908)
OKLCHoklch(18.19% 0.091 272.7)
XYZxyz(0.9252, 0.5206, 3.9218)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080839 #393908
analogous
#082039 #080839 #200839
triadic
#080839 #390808 #083908
tetradic
#080839 #390820 #393908 #083920
square
#080839 #390820 #393908 #083920
split-complementary
#080839 #392008 #203908
monochromatic
#04041B #04041B #080839 #10106F #1717A4

Accessibility & contrast

On white

19.02
#080839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#080839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080839
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080839#FFFFFF#000000##FFFFFF
##0808391.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#001620
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #080839;
/* rgb */ color: rgb(8, 8, 57);
/* oklch */ color: oklch(18.2% 0.091 272.7);
Tailwind
colors: {
  custom: {
    50: '#504970',
    500: '#080839',
    950: '#000000',
  },
}
SCSS
$custom: #080839;
$custom-light: #504970;
$custom-dark: #000000;
JSON
{
  "hex": "#080839",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 57
  },
  "hsl": {
    "h": 240,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18187,
    "c": 0.09093,
    "h": 272.7
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#080839
secondary
#787825
accent
#F236F2
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020107
muted
#78777A

Preview Lab

Preview with #080839

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

Preview Lab → · Contrast checker → · Palette generator →

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