#080841#080841

#080841 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.103 H 271.4°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#080841
RGBrgb(8, 8, 65)
HSLhsl(240, 78%, 14%)
HSVhsv(240, 88%, 25%)
CMYKcmyk(87.7%, 87.7%, 0%, 74.5%)
CIE-LABlab(5.48, 21.89, -34.85)
CIE-LCHlch(5.48, 41.16, 302.13°)
OKLaboklab(19.24% 0.0025 -0.1025)
OKLCHoklch(19.24% 0.103 271.4)
XYZxyz(1.1408, 0.6068, 5.0570)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080841 #414108
analogous
#082541 #080841 #250841
triadic
#080841 #410808 #084108
tetradic
#080841 #410825 #414108 #084125
square
#080841 #410825 #414108 #084125
split-complementary
#080841 #412508 #254108
monochromatic
#03031B #03031B #080841 #0F0F77 #1515AE

Accessibility & contrast

On white

18.73
#080841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#080841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080841
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080841#FFFFFF#000000##FFFFFF
##0808411.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#000F40
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #080841;
/* rgb */ color: rgb(8, 8, 65);
/* oklch */ color: oklch(19.2% 0.103 271.4);
Tailwind
colors: {
  custom: {
    50: '#534976',
    500: '#080841',
    950: '#000000',
  },
}
SCSS
$custom: #080841;
$custom-light: #534976;
$custom-dark: #000000;
JSON
{
  "hex": "#080841",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 240,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19241,
    "c": 0.10255,
    "h": 271.4
  },
  "luminance": 0.00607
}

Semantic roles & 50–950 ramp

primary
#080841
secondary
#7F7F25
accent
#F533F5
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #080841

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

Preview Lab → · Contrast checker → · Palette generator →

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