#080C27#080C27

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

Color values

HEX#080C27
RGBrgb(8, 12, 39)
HSLhsl(232, 66%, 9%)
HSVhsv(232, 79%, 15%)
CMYKcmyk(79.5%, 69.2%, 0%, 84.7%)
CIE-LABlab(4.16, 6.54, -17.80)
CIE-LCHlch(4.16, 18.96, 290.16°)
OKLaboklab(16.99% 0.0025 -0.0553)
OKLCHoklch(16.99% 0.055 272.5)
XYZxyz(0.5977, 0.4610, 1.9765)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C27 #272308
analogous
#081C27 #080C27 #140827
triadic
#080C27 #27080C #0C2708
tetradic
#080C27 #27081C #272308 #082714
square
#080C27 #27081C #272308 #082714
split-complementary
#080C27 #271408 #1C2708
monochromatic
#050819 #050819 #080C27 #121C5A #1D2B8D

Accessibility & contrast

On white

19.23
#080C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C27
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C27#FFFFFF#000000##FFFFFF
##080C271.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001028
Deuteranopia (green-blind)
#000D26
Tritanopia (blue-blind)
#001217
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #080c27;
/* rgb */ color: rgb(8, 12, 39);
/* oklch */ color: oklch(17.0% 0.055 272.5);
Tailwind
colors: {
  custom: {
    50: '#4b4c61',
    500: '#080c27',
    950: '#000000',
  },
}
SCSS
$custom: #080c27;
$custom-light: #4b4c61;
$custom-dark: #000000;
JSON
{
  "hex": "#080c27",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 232.258,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.16993,
    "c": 0.0554,
    "h": 272.5
  },
  "luminance": 0.00461
}

Semantic roles & 50–950 ramp

primary
#080C27
secondary
#655D25
accent
#D33FE9
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #080C27

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

Preview Lab → · Contrast checker → · Palette generator →

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