#080C42#080C42

#080C42 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.099 H 270.2°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#080C42
RGBrgb(8, 12, 66)
HSLhsl(236, 78%, 15%)
HSVhsv(236, 88%, 26%)
CMYKcmyk(87.9%, 81.8%, 0%, 74.1%)
CIE-LABlab(6.39, 20.37, -34.07)
CIE-LCHlch(6.39, 39.70, 300.88°)
OKLaboklab(20.07% 0.0004 -0.0993)
OKLCHoklch(20.07% 0.099 270.2)
XYZxyz(1.2146, 0.7078, 5.2258)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C42 #423E08
analogous
#082942 #080C42 #210842
triadic
#080C42 #42080C #0C4208
tetradic
#080C42 #420829 #423E08 #084221
square
#080C42 #420829 #423E08 #084221
split-complementary
#080C42 #422108 #294208
monochromatic
#03051B #03051B #080C42 #0F1679 #1520AF

Accessibility & contrast

On white

18.40
#080C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C42
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C42#FFFFFF#000000##FFFFFF
##080C421.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001744
Deuteranopia (green-blind)
#001141
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #080c42;
/* rgb */ color: rgb(8, 12, 66);
/* oklch */ color: oklch(20.1% 0.099 270.2);
Tailwind
colors: {
  custom: {
    50: '#544b77',
    500: '#080c42',
    950: '#000000',
  },
}
SCSS
$custom: #080c42;
$custom-light: #544b77;
$custom-dark: #000000;
JSON
{
  "hex": "#080c42",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 235.862,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20069,
    "c": 0.09928,
    "h": 270.2
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#080C42
secondary
#807A25
accent
#E733F5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #080C42

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

Preview Lab → · Contrast checker → · Palette generator →

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