#081336#081336

#081336 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.2% C 0.070 H 266.6°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#081336
RGBrgb(8, 19, 54)
HSLhsl(226, 74%, 12%)
HSVhsv(226, 85%, 21%)
CMYKcmyk(85.2%, 64.8%, 0%, 78.8%)
CIE-LABlab(7.08, 10.04, -24.33)
CIE-LCHlch(7.08, 26.32, 292.41°)
OKLaboklab(20.24% -0.0041 -0.0703)
OKLCHoklch(20.24% 0.07 266.6)
XYZxyz(0.9986, 0.7836, 3.5879)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081336 #362B08
analogous
#082A36 #081336 #140836
triadic
#081336 #360813 #133608
tetradic
#081336 #36082A #362B08 #083614
square
#081336 #36082A #362B08 #083614
split-complementary
#081336 #361408 #2A3608
monochromatic
#04091B #04091B #081336 #10266B #1839A1

Accessibility & contrast

On white

18.15
#081336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#081336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081336
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081336#FFFFFF#000000##FFFFFF
##0813361.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#001435
Tritanopia (blue-blind)
#001C22
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #081336;
/* rgb */ color: rgb(8, 19, 54);
/* oklch */ color: oklch(20.2% 0.070 266.6);
Tailwind
colors: {
  custom: {
    50: '#4f506d',
    500: '#081336',
    950: '#000000',
  },
}
SCSS
$custom: #081336;
$custom-light: #4f506d;
$custom-dark: #000000;
JSON
{
  "hex": "#081336",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 225.652,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20238,
    "c": 0.0704,
    "h": 266.6
  },
  "luminance": 0.00784
}

Semantic roles & 50–950 ramp

primary
#081336
secondary
#756225
accent
#C437F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #081336

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

Preview Lab → · Contrast checker → · Palette generator →

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