#080C2F#080C2F

#080C2F is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.069 H 272.1°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#080C2F
RGBrgb(8, 12, 47)
HSLhsl(234, 71%, 11%)
HSVhsv(234, 83%, 18%)
CMYKcmyk(83%, 74.5%, 0%, 81.6%)
CIE-LABlab(4.69, 10.26, -23.00)
CIE-LCHlch(4.69, 25.18, 294.05°)
OKLaboklab(17.83% 0.0025 -0.0693)
OKLCHoklch(17.83% 0.069 272.1)
XYZxyz(0.7445, 0.5197, 2.7499)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C2F #2F2B08
analogous
#081F2F #080C2F #17082F
triadic
#080C2F #2F080C #0C2F08
tetradic
#080C2F #2F081F #2F2B08 #082F17
square
#080C2F #2F081F #2F2B08 #082F17
split-complementary
#080C2F #2F1708 #1F2F08
monochromatic
#04071A #04071A #080C2F #111963 #1A2798

Accessibility & contrast

On white

19.02
#080C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C2F
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C2F#FFFFFF#000000##FFFFFF
##080C2F1.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #080c2f;
/* rgb */ color: rgb(8, 12, 47);
/* oklch */ color: oklch(17.8% 0.069 272.1);
Tailwind
colors: {
  custom: {
    50: '#4c4c68',
    500: '#080c2f',
    950: '#000000',
  },
}
SCSS
$custom: #080c2f;
$custom-light: #4c4c68;
$custom-dark: #000000;
JSON
{
  "hex": "#080c2f",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 233.846,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.17826,
    "c": 0.06939,
    "h": 272.1
  },
  "luminance": 0.0052
}

Semantic roles & 50–950 ramp

primary
#080C2F
secondary
#6E6625
accent
#DB3AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #080C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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