#081328#081328

#081328 is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.0% C 0.046 H 261.9°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#081328
RGBrgb(8, 19, 40)
HSLhsl(219, 67%, 9%)
HSVhsv(219, 80%, 16%)
CMYKcmyk(80%, 52.5%, 0%, 84.3%)
CIE-LABlab(6.06, 3.22, -15.60)
CIE-LCHlch(6.06, 15.93, 281.67°)
OKLaboklab(18.98% -0.0064 -0.0453)
OKLCHoklch(18.98% 0.046 261.9)
XYZxyz(0.7159, 0.6705, 2.0988)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081328 #281D08
analogous
#082328 #081328 #0D0828
triadic
#081328 #280813 #132808
tetradic
#081328 #280823 #281D08 #08280D
square
#081328 #280823 #281D08 #08280D
split-complementary
#081328 #280D08 #232808
monochromatic
#050C1A #050C1A #081328 #122B5B #1C438E

Accessibility & contrast

On white

18.52
#081328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#081328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081328
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081328#FFFFFF#000000##FFFFFF
##0813281.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091529
Deuteranopia (green-blind)
#051228
Tritanopia (blue-blind)
#00181B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #081328;
/* rgb */ color: rgb(8, 19, 40);
/* oklch */ color: oklch(19.0% 0.046 261.9);
Tailwind
colors: {
  custom: {
    50: '#4b5062',
    500: '#081328',
    950: '#000000',
  },
}
SCSS
$custom: #081328;
$custom-light: #4b5062;
$custom-dark: #000000;
JSON
{
  "hex": "#081328",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 219.375,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18976,
    "c": 0.04579,
    "h": 261.9
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#081328
secondary
#675025
accent
#AF3EEA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #081328

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

Preview Lab → · Contrast checker → · Palette generator →

#081328 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva