#080F28#080F28

#080F28 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.9% C 0.052 H 268.7°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#080F28
RGBrgb(8, 15, 40)
HSLhsl(227, 67%, 9%)
HSVhsv(227, 80%, 16%)
CMYKcmyk(80%, 62.5%, 0%, 84.3%)
CIE-LABlab(4.94, 5.51, -17.35)
CIE-LCHlch(4.94, 18.21, 287.61°)
OKLaboklab(17.87% -0.0012 -0.0522)
OKLCHoklch(17.87% 0.052 268.7)
XYZxyz(0.6538, 0.5464, 2.0781)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080F28 #282108
analogous
#081F28 #080F28 #110828
triadic
#080F28 #28080F #0F2808
tetradic
#080F28 #28081F #282108 #082811
square
#080F28 #28081F #282108 #082811
split-complementary
#080F28 #281108 #1F2808
monochromatic
#050A1A #050A1A #080F28 #12225B #1C358E

Accessibility & contrast

On white

18.93
#080F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080F28
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080F28#FFFFFF#000000##FFFFFF
##080F281.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #080f28;
/* rgb */ color: rgb(8, 15, 40);
/* oklch */ color: oklch(17.9% 0.052 268.7);
Tailwind
colors: {
  custom: {
    50: '#4b4e62',
    500: '#080f28',
    950: '#000000',
  },
}
SCSS
$custom: #080f28;
$custom-light: #4b4e62;
$custom-dark: #000000;
JSON
{
  "hex": "#080f28",
  "rgb": {
    "r": 8,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 226.875,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17871,
    "c": 0.05221,
    "h": 268.7
  },
  "luminance": 0.00546
}

Semantic roles & 50–950 ramp

primary
#080F28
secondary
#675825
accent
#C43EEA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #080F28

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

Preview Lab → · Contrast checker → · Palette generator →

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