#080541#080541

#080541 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.7% C 0.106 H 272.0°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#080541
RGBrgb(8, 5, 65)
HSLhsl(243, 86%, 14%)
HSVhsv(243, 92%, 25%)
CMYKcmyk(87.7%, 92.3%, 0%, 74.5%)
CIE-LABlab(4.89, 23.32, -35.82)
CIE-LCHlch(4.89, 42.74, 303.07°)
OKLaboklab(18.69% 0.0038 -0.1062)
OKLCHoklch(18.69% 0.106 272)
XYZxyz(1.1082, 0.5417, 5.0462)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080541 #3E4105
analogous
#052041 #080541 #260541
triadic
#080541 #410805 #054108
tetradic
#080541 #410520 #3E4105 #054126
square
#080541 #410520 #3E4105 #054126
split-complementary
#080541 #412605 #204105
monochromatic
#03021C #03021C #080541 #0F097A #160EB3

Accessibility & contrast

On white

18.95
#080541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#080541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080541
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080541#FFFFFF#000000##FFFFFF
##0805411.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001343
Deuteranopia (green-blind)
#000E40
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #080541;
/* rgb */ color: rgb(8, 5, 65);
/* oklch */ color: oklch(18.7% 0.106 272.0);
Tailwind
colors: {
  custom: {
    50: '#534776',
    500: '#080541',
    950: '#000000',
  },
}
SCSS
$custom: #080541;
$custom-light: #534776;
$custom-dark: #000000;
JSON
{
  "hex": "#080541",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 243,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.18694,
    "c": 0.10629,
    "h": 272
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#080541
secondary
#7D8120
accent
#FC2CF2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #080541

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

Preview Lab → · Contrast checker → · Palette generator →

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