#080C2C#080C2C

#080C2C is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.5% C 0.064 H 272.3°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#080C2C
RGBrgb(8, 12, 44)
HSLhsl(233, 69%, 10%)
HSVhsv(233, 82%, 17%)
CMYKcmyk(81.8%, 72.7%, 0%, 82.7%)
CIE-LABlab(4.48, 8.78, -21.08)
CIE-LCHlch(4.48, 22.84, 292.60°)
OKLaboklab(17.5% 0.0026 -0.0642)
OKLCHoklch(17.5% 0.064 272.3)
XYZxyz(0.6861, 0.4964, 2.4420)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C2C #2C2808
analogous
#081E2C #080C2C #16082C
triadic
#080C2C #2C080C #0C2C08
tetradic
#080C2C #2C081E #2C2808 #082C16
square
#080C2C #2C081E #2C2808 #082C16
split-complementary
#080C2C #2C1608 #1E2C08
monochromatic
#05071A #05071A #080C2C #111A60 #1B2894

Accessibility & contrast

On white

19.10
#080C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C2C
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C2C#FFFFFF#000000##FFFFFF
##080C2C1.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#000E2B
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #080c2c;
/* rgb */ color: rgb(8, 12, 44);
/* oklch */ color: oklch(17.5% 0.064 272.3);
Tailwind
colors: {
  custom: {
    50: '#4c4c65',
    500: '#080c2c',
    950: '#000000',
  },
}
SCSS
$custom: #080c2c;
$custom-light: #4c4c65;
$custom-dark: #000000;
JSON
{
  "hex": "#080c2c",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 44
  },
  "hsl": {
    "h": 233.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17504,
    "c": 0.06425,
    "h": 272.3
  },
  "luminance": 0.00496
}

Semantic roles & 50–950 ramp

primary
#080C2C
secondary
#6B6325
accent
#D83CEC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #080C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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