#080C41#080C41

#080C41 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.098 H 270.3°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#080C41
RGBrgb(8, 12, 65)
HSLhsl(236, 78%, 14%)
HSVhsv(236, 88%, 25%)
CMYKcmyk(87.7%, 81.5%, 0%, 74.5%)
CIE-LABlab(6.29, 19.88, -33.53)
CIE-LCHlch(6.29, 38.99, 300.67°)
OKLaboklab(19.94% 0.0006 -0.0978)
OKLCHoklch(19.94% 0.098 270.3)
XYZxyz(1.1854, 0.6961, 5.0719)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C41 #413D08
analogous
#082941 #080C41 #210841
triadic
#080C41 #41080C #0C4108
tetradic
#080C41 #410829 #413D08 #084121
square
#080C41 #410829 #413D08 #084121
split-complementary
#080C41 #412108 #294108
monochromatic
#03051B #03051B #080C41 #0F1677 #1520AE

Accessibility & contrast

On white

18.43
#080C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#080C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080C41
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C41#FFFFFF#000000##FFFFFF
##080C411.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001140
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #080c41;
/* rgb */ color: rgb(8, 12, 65);
/* oklch */ color: oklch(19.9% 0.098 270.3);
Tailwind
colors: {
  custom: {
    50: '#534b76',
    500: '#080c41',
    950: '#000000',
  },
}
SCSS
$custom: #080c41;
$custom-light: #534b76;
$custom-dark: #000000;
JSON
{
  "hex": "#080c41",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 65
  },
  "hsl": {
    "h": 235.789,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.19944,
    "c": 0.0978,
    "h": 270.3
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#080C41
secondary
#7F7925
accent
#E733F5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #080C41

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

Preview Lab → · Contrast checker → · Palette generator →

#080C41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva