#080546#080546

#080546 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.4% C 0.113 H 271.2°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#080546
RGBrgb(8, 5, 70)
HSLhsl(243, 87%, 15%)
HSVhsv(243, 93%, 27%)
CMYKcmyk(88.6%, 92.9%, 0%, 72.5%)
CIE-LABlab(5.44, 25.91, -38.47)
CIE-LCHlch(5.44, 46.38, 303.96°)
OKLaboklab(19.41% 0.0023 -0.113)
OKLCHoklch(19.41% 0.113 271.2)
XYZxyz(1.2595, 0.6022, 5.8430)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080546 #434605
analogous
#052346 #080546 #290546
triadic
#080546 #460805 #054608
tetradic
#080546 #460523 #434605 #054629
square
#080546 #460523 #434605 #054629
split-complementary
#080546 #462905 #234605
monochromatic
#03021D #03021D #080546 #0F097F #150DB8

Accessibility & contrast

On white

18.74
#080546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080546
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080546#FFFFFF#000000##FFFFFF
##0805461.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001548
Deuteranopia (green-blind)
#000F45
Tritanopia (blue-blind)
#001A26
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #080546;
/* rgb */ color: rgb(8, 5, 70);
/* oklch */ color: oklch(19.4% 0.113 271.2);
Tailwind
colors: {
  custom: {
    50: '#55477a',
    500: '#080546',
    950: '#000000',
  },
}
SCSS
$custom: #080546;
$custom-light: #55477a;
$custom-dark: #000000;
JSON
{
  "hex": "#080546",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 70
  },
  "hsl": {
    "h": 242.769,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.19407,
    "c": 0.113,
    "h": 271.2
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#080546
secondary
#818621
accent
#FD2BF3
background
#F5F4F7
surface
#E9E6EE
border
#C5C2C9
text
#030009
muted
#78777B

Preview Lab

Preview with #080546

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

Preview Lab → · Contrast checker → · Palette generator →

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