#080C2A#080C2A

#080C2A is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.3% C 0.061 H 272.4°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#080C2A
RGBrgb(8, 12, 42)
HSLhsl(233, 68%, 10%)
HSVhsv(233, 81%, 16%)
CMYKcmyk(81%, 71.4%, 0%, 83.5%)
CIE-LABlab(4.35, 7.85, -19.79)
CIE-LCHlch(4.35, 21.28, 291.63°)
OKLaboklab(17.29% 0.0026 -0.0607)
OKLCHoklch(17.29% 0.061 272.4)
XYZxyz(0.6494, 0.4817, 2.2488)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C2A #2A2608
analogous
#081D2A #080C2A #15082A
triadic
#080C2A #2A080C #0C2A08
tetradic
#080C2A #2A081D #2A2608 #082A15
square
#080C2A #2A081D #2A2608 #082A15
split-complementary
#080C2A #2A1508 #1D2A08
monochromatic
#05071A #05071A #080C2A #121B5D #1C2991

Accessibility & contrast

On white

19.15
#080C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#080C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080C2A
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C2A#FFFFFF#000000##FFFFFF
##080C2A1.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#001319
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #080c2a;
/* rgb */ color: rgb(8, 12, 42);
/* oklch */ color: oklch(17.3% 0.061 272.4);
Tailwind
colors: {
  custom: {
    50: '#4b4c63',
    500: '#080c2a',
    950: '#000000',
  },
}
SCSS
$custom: #080c2a;
$custom-light: #4b4c63;
$custom-dark: #000000;
JSON
{
  "hex": "#080c2a",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 232.941,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17295,
    "c": 0.06076,
    "h": 272.4
  },
  "luminance": 0.00482
}

Semantic roles & 50–950 ramp

primary
#080C2A
secondary
#696125
accent
#D63DEB
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #080C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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