#080340#080340

#080340 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.2% C 0.108 H 272.7°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#080340
RGBrgb(8, 3, 64)
HSLhsl(245, 91%, 13%)
HSVhsv(245, 95%, 25%)
CMYKcmyk(87.5%, 95.3%, 0%, 74.9%)
CIE-LABlab(4.40, 23.71, -35.91)
CIE-LCHlch(4.40, 43.03, 303.44°)
OKLaboklab(18.16% 0.005 -0.1075)
OKLCHoklch(18.16% 0.108 272.7)
XYZxyz(1.0578, 0.4868, 4.8877)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080340 #3B4003
analogous
#031C40 #080340 #260340
triadic
#080340 #400803 #034008
tetradic
#080340 #40031C #3B4003 #034026
square
#080340 #40031C #3B4003 #034026
split-complementary
#080340 #402603 #1C4003
monochromatic
#04011D #04011D #080340 #0F067A #1708B5

Accessibility & contrast

On white

19.14
#080340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#080340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080340
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080340#FFFFFF#000000##FFFFFF
##0803401.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001242
Deuteranopia (green-blind)
#000C3F
Tritanopia (blue-blind)
#001622
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #080340;
/* rgb */ color: rgb(8, 3, 64);
/* oklch */ color: oklch(18.2% 0.108 272.7);
Tailwind
colors: {
  custom: {
    50: '#534676',
    500: '#080340',
    950: '#000000',
  },
}
SCSS
$custom: #080340;
$custom-light: #534676;
$custom-dark: #000000;
JSON
{
  "hex": "#080340",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 244.918,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18162,
    "c": 0.10761,
    "h": 272.7
  },
  "luminance": 0.00487
}

Semantic roles & 50–950 ramp

primary
#080340
secondary
#7A821D
accent
#FF29ED
background
#F5F3F7
surface
#E9E5ED
border
#C5C1C8
text
#030008
muted
#78777B

Preview Lab

Preview with #080340

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

Preview Lab → · Contrast checker → · Palette generator →

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