#080740#080740

#080740 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.102 H 271.8°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#080740
RGBrgb(8, 7, 64)
HSLhsl(241, 80%, 14%)
HSVhsv(241, 89%, 25%)
CMYKcmyk(87.5%, 89.1%, 0%, 74.9%)
CIE-LABlab(5.18, 21.84, -34.63)
CIE-LCHlch(5.18, 40.94, 302.24°)
OKLaboklab(18.93% 0.0032 -0.1023)
OKLCHoklch(18.93% 0.102 271.8)
XYZxyz(1.1012, 0.5736, 4.9022)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080740 #3F4007
analogous
#072340 #080740 #250740
triadic
#080740 #400807 #074008
tetradic
#080740 #400723 #3F4007 #074025
square
#080740 #400723 #3F4007 #074025
split-complementary
#080740 #402507 #234007
monochromatic
#03031C #03031C #080740 #0F0D77 #1613AE

Accessibility & contrast

On white

18.84
#080740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080740
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080740#FFFFFF#000000##FFFFFF
##0807401.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #080740;
/* rgb */ color: rgb(8, 7, 64);
/* oklch */ color: oklch(18.9% 0.102 271.8);
Tailwind
colors: {
  custom: {
    50: '#534876',
    500: '#080740',
    950: '#000000',
  },
}
SCSS
$custom: #080740;
$custom-light: #534876;
$custom-dark: #000000;
JSON
{
  "hex": "#080740",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 241.053,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.18926,
    "c": 0.10237,
    "h": 271.8
  },
  "luminance": 0.00574
}

Semantic roles & 50–950 ramp

primary
#080740
secondary
#7E7F24
accent
#F731F3
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #080740

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

Preview Lab → · Contrast checker → · Palette generator →

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