#081331#081331

#081331 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.062 H 265.7°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#081331
RGBrgb(8, 19, 49)
HSLhsl(224, 72%, 11%)
HSVhsv(224, 84%, 19%)
CMYKcmyk(83.7%, 61.2%, 0%, 80.8%)
CIE-LABlab(6.68, 7.54, -21.32)
CIE-LCHlch(6.68, 22.61, 289.47°)
OKLaboklab(19.76% -0.0047 -0.0616)
OKLCHoklch(19.76% 0.062 265.7)
XYZxyz(0.8872, 0.7390, 3.0010)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081331 #312608
analogous
#082731 #081331 #110831
triadic
#081331 #310813 #133108
tetradic
#081331 #310827 #312608 #083111
square
#081331 #310827 #312608 #083111
split-complementary
#081331 #311108 #273108
monochromatic
#040A1A #040A1A #081331 #112766 #193C9A

Accessibility & contrast

On white

18.30
#081331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#081331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081331
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081331#FFFFFF#000000##FFFFFF
##0813311.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#001330
Tritanopia (blue-blind)
#001A1F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #081331;
/* rgb */ color: rgb(8, 19, 49);
/* oklch */ color: oklch(19.8% 0.062 265.7);
Tailwind
colors: {
  custom: {
    50: '#4d5069',
    500: '#081331',
    950: '#000000',
  },
}
SCSS
$custom: #081331;
$custom-light: #4d5069;
$custom-dark: #000000;
JSON
{
  "hex": "#081331",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 223.902,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.1976,
    "c": 0.06182,
    "h": 265.7
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#081331
secondary
#705C25
accent
#BE39EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #081331

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

Preview Lab → · Contrast checker → · Palette generator →

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