#080F27#080F27

#080F27 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.8% C 0.050 H 268.5°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#080F27
RGBrgb(8, 15, 39)
HSLhsl(226, 66%, 9%)
HSVhsv(226, 79%, 15%)
CMYKcmyk(79.5%, 61.5%, 0%, 84.7%)
CIE-LABlab(4.88, 5.08, -16.69)
CIE-LCHlch(4.88, 17.44, 286.93°)
OKLaboklab(17.78% -0.0014 -0.0504)
OKLCHoklch(17.78% 0.05 268.5)
XYZxyz(0.6370, 0.5397, 1.9897)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080F27 #272008
analogous
#081F27 #080F27 #110827
triadic
#080F27 #27080F #0F2708
tetradic
#080F27 #27081F #272008 #082711
square
#080F27 #27081F #272008 #082711
split-complementary
#080F27 #271108 #1F2708
monochromatic
#050A19 #050A19 #080F27 #12235A #1D368D

Accessibility & contrast

On white

18.95
#080F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#080F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080F27
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080F27#FFFFFF#000000##FFFFFF
##080F271.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041228
Deuteranopia (green-blind)
#010F27
Tritanopia (blue-blind)
#001519
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #080f27;
/* rgb */ color: rgb(8, 15, 39);
/* oklch */ color: oklch(17.8% 0.050 268.5);
Tailwind
colors: {
  custom: {
    50: '#4b4e61',
    500: '#080f27',
    950: '#000000',
  },
}
SCSS
$custom: #080f27;
$custom-light: #4b4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#080f27",
  "rgb": {
    "r": 8,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 226.452,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.1778,
    "c": 0.05038,
    "h": 268.5
  },
  "luminance": 0.0054
}

Semantic roles & 50–950 ramp

primary
#080F27
secondary
#655725
accent
#C33FE9
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #080F27

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

Preview Lab → · Contrast checker → · Palette generator →

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