#080C3A#080C3A

#080C3A is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.087 H 271.0°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#080C3A
RGBrgb(8, 12, 58)
HSLhsl(235, 76%, 13%)
HSVhsv(235, 86%, 23%)
CMYKcmyk(86.2%, 79.3%, 0%, 77.3%)
CIE-LABlab(5.60, 16.28, -29.63)
CIE-LCHlch(5.60, 33.80, 298.78°)
OKLaboklab(19.09% 0.0016 -0.0872)
OKLCHoklch(19.09% 0.087 271)
XYZxyz(0.9951, 0.6200, 4.0694)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C3A #3A3608
analogous
#08253A #080C3A #1D083A
triadic
#080C3A #3A080C #0C3A08
tetradic
#080C3A #3A0825 #3A3608 #083A1D
square
#080C3A #3A0825 #3A3608 #083A1D
split-complementary
#080C3A #3A1D08 #253A08
monochromatic
#04061B #04061B #080C3A #0F1770 #1722A6

Accessibility & contrast

On white

18.68
#080C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C3A
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C3A#FFFFFF#000000##FFFFFF
##080C3A1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001039
Tritanopia (blue-blind)
#001921
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #080c3a;
/* rgb */ color: rgb(8, 12, 58);
/* oklch */ color: oklch(19.1% 0.087 271.0);
Tailwind
colors: {
  custom: {
    50: '#514b71',
    500: '#080c3a',
    950: '#000000',
  },
}
SCSS
$custom: #080c3a;
$custom-light: #514b71;
$custom-dark: #000000;
JSON
{
  "hex": "#080c3a",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 235.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19087,
    "c": 0.08718,
    "h": 271
  },
  "luminance": 0.0062
}

Semantic roles & 50–950 ramp

primary
#080C3A
secondary
#797225
accent
#E335F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #080C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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