#080535#080535

#080535 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 17.0% C 0.089 H 274.8°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#080535
RGBrgb(8, 5, 53)
HSLhsl(244, 83%, 11%)
HSVhsv(244, 91%, 21%)
CMYKcmyk(84.9%, 90.6%, 0%, 79.2%)
CIE-LABlab(3.77, 16.40, -28.93)
CIE-LCHlch(3.77, 33.26, 299.54°)
OKLaboklab(17.02% 0.0074 -0.0891)
OKLCHoklch(17.02% 0.089 274.8)
XYZxyz(0.7968, 0.4171, 3.4060)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080535 #323505
analogous
#051A35 #080535 #200535
triadic
#080535 #350805 #053508
tetradic
#080535 #35051A #323505 #053520
square
#080535 #35051A #323505 #053520
split-complementary
#080535 #352005 #1A3505
monochromatic
#04031C #04031C #080535 #100A6D #1910A5

Accessibility & contrast

On white

19.38
#080535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#080535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080535
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080535#FFFFFF#000000##FFFFFF
##0805351.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001036
Deuteranopia (green-blind)
#000B34
Tritanopia (blue-blind)
#00131C
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #080535;
/* rgb */ color: rgb(8, 5, 53);
/* oklch */ color: oklch(17.0% 0.089 274.8);
Tailwind
colors: {
  custom: {
    50: '#4e486d',
    500: '#080535',
    950: '#000000',
  },
}
SCSS
$custom: #080535;
$custom-light: #4e486d;
$custom-dark: #000000;
JSON
{
  "hex": "#080535",
  "rgb": {
    "r": 8,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 243.75,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.17022,
    "c": 0.08945,
    "h": 274.8
  },
  "luminance": 0.00417
}

Semantic roles & 50–950 ramp

primary
#080535
secondary
#717620
accent
#F92FEC
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #080535

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

Preview Lab → · Contrast checker → · Palette generator →

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