#080C2E#080C2E

#080C2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.7% C 0.068 H 272.2°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#080C2E
RGBrgb(8, 12, 46)
HSLhsl(234, 70%, 11%)
HSVhsv(234, 83%, 18%)
CMYKcmyk(82.6%, 73.9%, 0%, 82%)
CIE-LABlab(4.62, 9.76, -22.36)
CIE-LCHlch(4.62, 24.40, 293.57°)
OKLaboklab(17.72% 0.0026 -0.0676)
OKLCHoklch(17.72% 0.068 272.2)
XYZxyz(0.7246, 0.5118, 2.6448)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C2E #2E2A08
analogous
#081F2E #080C2E #17082E
triadic
#080C2E #2E080C #0C2E08
tetradic
#080C2E #2E081F #2E2A08 #082E17
square
#080C2E #2E081F #2E2A08 #082E17
split-complementary
#080C2E #2E1708 #1F2E08
monochromatic
#05071A #05071A #080C2E #111A62 #1A2796

Accessibility & contrast

On white

19.05
#080C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C2E
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C2E#FFFFFF#000000##FFFFFF
##080C2E1.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #080c2e;
/* rgb */ color: rgb(8, 12, 46);
/* oklch */ color: oklch(17.7% 0.068 272.2);
Tailwind
colors: {
  custom: {
    50: '#4c4c67',
    500: '#080c2e',
    950: '#000000',
  },
}
SCSS
$custom: #080c2e;
$custom-light: #4c4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#080c2e",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 46
  },
  "hsl": {
    "h": 233.684,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17717,
    "c": 0.06769,
    "h": 272.2
  },
  "luminance": 0.00512
}

Semantic roles & 50–950 ramp

primary
#080C2E
secondary
#6D6525
accent
#DA3BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #080C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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