#080C39#080C39

#080C39 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.086 H 271.1°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#080C39
RGBrgb(8, 12, 57)
HSLhsl(235, 75%, 13%)
HSVhsv(235, 86%, 22%)
CMYKcmyk(86%, 78.9%, 0%, 77.6%)
CIE-LABlab(5.51, 15.74, -29.05)
CIE-LCHlch(5.51, 33.04, 298.45°)
OKLaboklab(18.97% 0.0017 -0.0856)
OKLCHoklch(18.97% 0.086 271.1)
XYZxyz(0.9699, 0.6099, 3.9367)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C39 #393508
analogous
#082439 #080C39 #1C0839
triadic
#080C39 #39080C #0C3908
tetradic
#080C39 #390824 #393508 #08391C
square
#080C39 #390824 #393508 #08391C
split-complementary
#080C39 #391C08 #243908
monochromatic
#04061B #04061B #080C39 #10176F #1723A4

Accessibility & contrast

On white

18.72
#080C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#080C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080C39
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C39#FFFFFF#000000##FFFFFF
##080C391.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001038
Tritanopia (blue-blind)
#001821
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #080c39;
/* rgb */ color: rgb(8, 12, 57);
/* oklch */ color: oklch(19.0% 0.086 271.1);
Tailwind
colors: {
  custom: {
    50: '#504b70',
    500: '#080c39',
    950: '#000000',
  },
}
SCSS
$custom: #080c39;
$custom-light: #504b70;
$custom-dark: #000000;
JSON
{
  "hex": "#080c39",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 235.102,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18968,
    "c": 0.08563,
    "h": 271.1
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#080C39
secondary
#787125
accent
#E336F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #080C39

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

Preview Lab → · Contrast checker → · Palette generator →

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