#080538#080538

#080538 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.4% C 0.094 H 274.0°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#080538
RGBrgb(8, 5, 56)
HSLhsl(244, 84%, 12%)
HSVhsv(244, 91%, 22%)
CMYKcmyk(85.7%, 91.1%, 0%, 78%)
CIE-LABlab(4.03, 18.20, -30.72)
CIE-LCHlch(4.03, 35.71, 300.64°)
OKLaboklab(17.43% 0.0065 -0.0935)
OKLCHoklch(17.43% 0.094 274)
XYZxyz(0.8680, 0.4456, 3.7809)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080538 #353805
analogous
#051C38 #080538 #220538
triadic
#080538 #380805 #053808
tetradic
#080538 #38051C #353805 #053822
square
#080538 #38051C #353805 #053822
split-complementary
#080538 #382205 #1C3805
monochromatic
#04031C #04031C #080538 #100A70 #180FA8

Accessibility & contrast

On white

19.28
#080538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#080538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080538
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080538#FFFFFF#000000##FFFFFF
##0805381.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000C37
Tritanopia (blue-blind)
#00141E
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #080538;
/* rgb */ color: rgb(8, 5, 56);
/* oklch */ color: oklch(17.4% 0.094 274.0);
Tailwind
colors: {
  custom: {
    50: '#4f486f',
    500: '#080538',
    950: '#000000',
  },
}
SCSS
$custom: #080538;
$custom-light: #4f486f;
$custom-dark: #000000;
JSON
{
  "hex": "#080538",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 243.529,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.17433,
    "c": 0.09377,
    "h": 274
  },
  "luminance": 0.00446
}

Semantic roles & 50–950 ramp

primary
#080538
secondary
#747920
accent
#FA2EEE
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #080538

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

Preview Lab → · Contrast checker → · Palette generator →

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