#080C2D#080C2D

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

Color values

HEX#080C2D
RGBrgb(8, 12, 45)
HSLhsl(234, 70%, 10%)
HSVhsv(234, 82%, 18%)
CMYKcmyk(82.2%, 73.3%, 0%, 82.4%)
CIE-LABlab(4.55, 9.26, -21.73)
CIE-LCHlch(4.55, 23.62, 293.08°)
OKLaboklab(17.61% 0.0026 -0.0659)
OKLCHoklch(17.61% 0.066 272.2)
XYZxyz(0.7051, 0.5040, 2.5422)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C2D #2D2908
analogous
#081E2D #080C2D #16082D
triadic
#080C2D #2D080C #0C2D08
tetradic
#080C2D #2D081E #2D2908 #082D16
square
#080C2D #2D081E #2D2908 #082D16
split-complementary
#080C2D #2D1608 #1E2D08
monochromatic
#05071A #05071A #080C2D #111A61 #1A2895

Accessibility & contrast

On white

19.08
#080C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C2D
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C2D#FFFFFF#000000##FFFFFF
##080C2D1.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #080c2d;
/* rgb */ color: rgb(8, 12, 45);
/* oklch */ color: oklch(17.6% 0.066 272.2);
Tailwind
colors: {
  custom: {
    50: '#4c4c66',
    500: '#080c2d',
    950: '#000000',
  },
}
SCSS
$custom: #080c2d;
$custom-light: #4c4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#080c2d",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 233.514,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1761,
    "c": 0.06598,
    "h": 272.2
  },
  "luminance": 0.00504
}

Semantic roles & 50–950 ramp

primary
#080C2D
secondary
#6C6425
accent
#D93BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #080C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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