#080742#080742

#080742 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.105 H 271.4°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#080742
RGBrgb(8, 7, 66)
HSLhsl(241, 81%, 14%)
HSVhsv(241, 89%, 26%)
CMYKcmyk(87.9%, 89.4%, 0%, 74.1%)
CIE-LABlab(5.39, 22.89, -35.72)
CIE-LCHlch(5.39, 42.42, 302.66°)
OKLaboklab(19.2% 0.0027 -0.1051)
OKLCHoklch(19.2% 0.105 271.4)
XYZxyz(1.1592, 0.5968, 5.2073)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080742 #414207
analogous
#072442 #080742 #260742
triadic
#080742 #420807 #074208
tetradic
#080742 #420724 #414207 #074226
square
#080742 #420724 #414207 #074226
split-complementary
#080742 #422607 #244207
monochromatic
#03031C #03031C #080742 #0F0D79 #1513B1

Accessibility & contrast

On white

18.76
#080742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080742
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080742#FFFFFF#000000##FFFFFF
##0807421.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001544
Deuteranopia (green-blind)
#000F41
Tritanopia (blue-blind)
#001924
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #080742;
/* rgb */ color: rgb(8, 7, 66);
/* oklch */ color: oklch(19.2% 0.105 271.4);
Tailwind
colors: {
  custom: {
    50: '#544877',
    500: '#080742',
    950: '#000000',
  },
}
SCSS
$custom: #080742;
$custom-light: #544877;
$custom-dark: #000000;
JSON
{
  "hex": "#080742",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 241.017,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19199,
    "c": 0.10516,
    "h": 271.4
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#080742
secondary
#7F8124
accent
#F731F4
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030009
muted
#78777B

Preview Lab

Preview with #080742

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

Preview Lab → · Contrast checker → · Palette generator →

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