#080640#080640

#080640 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.104 H 272.0°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#080640
RGBrgb(8, 6, 64)
HSLhsl(242, 83%, 14%)
HSVhsv(242, 91%, 25%)
CMYKcmyk(87.5%, 90.6%, 0%, 74.9%)
CIE-LABlab(4.99, 22.31, -34.95)
CIE-LCHlch(4.99, 41.47, 302.56°)
OKLaboklab(18.74% 0.0036 -0.1036)
OKLCHoklch(18.74% 0.104 272)
XYZxyz(1.0904, 0.5519, 4.8986)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080640 #3E4006
analogous
#062140 #080640 #250640
triadic
#080640 #400806 #064008
tetradic
#080640 #400621 #3E4006 #064025
square
#080640 #400621 #3E4006 #064025
split-complementary
#080640 #402506 #214006
monochromatic
#03031C #03031C #080640 #0F0B78 #1610B0

Accessibility & contrast

On white

18.91
#080640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080640
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080640#FFFFFF#000000##FFFFFF
##0806401.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.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: #080640;
/* rgb */ color: rgb(8, 6, 64);
/* oklch */ color: oklch(18.7% 0.104 272.0);
Tailwind
colors: {
  custom: {
    50: '#534876',
    500: '#080640',
    950: '#000000',
  },
}
SCSS
$custom: #080640;
$custom-light: #534876;
$custom-dark: #000000;
JSON
{
  "hex": "#080640",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 242.069,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.18741,
    "c": 0.10363,
    "h": 272
  },
  "luminance": 0.00552
}

Semantic roles & 50–950 ramp

primary
#080640
secondary
#7D8022
accent
#F92FF2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #080640

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

Preview Lab → · Contrast checker → · Palette generator →

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