#080C28#080C28

#080C28 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.1% C 0.057 H 272.5°. Best body text is #FFFFFF at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#080C28
RGBrgb(8, 12, 40)
HSLhsl(233, 67%, 9%)
HSVhsv(233, 80%, 16%)
CMYKcmyk(80%, 70%, 0%, 84.3%)
CIE-LABlab(4.22, 6.96, -18.47)
CIE-LCHlch(4.22, 19.73, 290.66°)
OKLaboklab(17.09% 0.0025 -0.0571)
OKLCHoklch(17.09% 0.057 272.5)
XYZxyz(0.6145, 0.4677, 2.0650)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C28 #282408
analogous
#081C28 #080C28 #140828
triadic
#080C28 #28080C #0C2808
tetradic
#080C28 #28081C #282408 #082814
square
#080C28 #28081C #282408 #082814
split-complementary
#080C28 #281408 #1C2808
monochromatic
#05081A #05081A #080C28 #121B5B #1C2B8E

Accessibility & contrast

On white

19.20
#080C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#080C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080C28
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C28#FFFFFF#000000##FFFFFF
##080C281.0019.201.0919.20
#FFFFFF19.201.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#000D27
Tritanopia (blue-blind)
#001318
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #080c28;
/* rgb */ color: rgb(8, 12, 40);
/* oklch */ color: oklch(17.1% 0.057 272.5);
Tailwind
colors: {
  custom: {
    50: '#4b4c62',
    500: '#080c28',
    950: '#000000',
  },
}
SCSS
$custom: #080c28;
$custom-light: #4b4c62;
$custom-dark: #000000;
JSON
{
  "hex": "#080c28",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 232.5,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17092,
    "c": 0.05721,
    "h": 272.5
  },
  "luminance": 0.00468
}

Semantic roles & 50–950 ramp

primary
#080C28
secondary
#675E25
accent
#D43EEA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #080C28

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

Preview Lab → · Contrast checker → · Palette generator →

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