#080C2B#080C2B

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

Color values

HEX#080C2B
RGBrgb(8, 12, 43)
HSLhsl(233, 69%, 10%)
HSVhsv(233, 81%, 17%)
CMYKcmyk(81.4%, 72.1%, 0%, 83.1%)
CIE-LABlab(4.42, 8.31, -20.44)
CIE-LCHlch(4.42, 22.06, 292.12°)
OKLaboklab(17.4% 0.0026 -0.0625)
OKLCHoklch(17.4% 0.063 272.4)
XYZxyz(0.6675, 0.4889, 2.3442)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C2B #2B2708
analogous
#081D2B #080C2B #16082B
triadic
#080C2B #2B080C #0C2B08
tetradic
#080C2B #2B081D #2B2708 #082B16
square
#080C2B #2B081D #2B2708 #082B16
split-complementary
#080C2B #2B1608 #1D2B08
monochromatic
#05071A #05071A #080C2B #121A5F #1B2992

Accessibility & contrast

On white

19.13
#080C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C2B
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C2B#FFFFFF#000000##FFFFFF
##080C2B1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#000E2A
Tritanopia (blue-blind)
#001419
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #080c2b;
/* rgb */ color: rgb(8, 12, 43);
/* oklch */ color: oklch(17.4% 0.063 272.4);
Tailwind
colors: {
  custom: {
    50: '#4b4c64',
    500: '#080c2b',
    950: '#000000',
  },
}
SCSS
$custom: #080c2b;
$custom-light: #4b4c64;
$custom-dark: #000000;
JSON
{
  "hex": "#080c2b",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 233.143,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.17399,
    "c": 0.06251,
    "h": 272.4
  },
  "luminance": 0.00489
}

Semantic roles & 50–950 ramp

primary
#080C2B
secondary
#6A6225
accent
#D73CEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #080C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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