#081536#081536

#081536 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.7% C 0.067 H 264.8°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#081536
RGBrgb(8, 21, 54)
HSLhsl(223, 74%, 12%)
HSVhsv(223, 85%, 21%)
CMYKcmyk(85.2%, 61.1%, 0%, 78.8%)
CIE-LABlab(7.72, 8.56, -23.30)
CIE-LCHlch(7.72, 24.82, 290.18°)
OKLaboklab(20.75% -0.0061 -0.067)
OKLCHoklch(20.75% 0.067 264.8)
XYZxyz(1.0339, 0.8542, 3.5997)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081536 #362908
analogous
#082C36 #081536 #120836
triadic
#081536 #360815 #153608
tetradic
#081536 #36082C #362908 #083612
square
#081536 #36082C #362908 #083612
split-complementary
#081536 #361208 #2C3608
monochromatic
#040A1B #040A1B #081536 #102A6B #183EA1

Accessibility & contrast

On white

17.94
#081536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#081536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081536
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081536#FFFFFF#000000##FFFFFF
##0815361.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#001D23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #081536;
/* rgb */ color: rgb(8, 21, 54);
/* oklch */ color: oklch(20.7% 0.067 264.8);
Tailwind
colors: {
  custom: {
    50: '#4f516d',
    500: '#081536',
    950: '#000000',
  },
}
SCSS
$custom: #081536;
$custom-light: #4f516d;
$custom-dark: #000000;
JSON
{
  "hex": "#081536",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 54
  },
  "hsl": {
    "h": 223.043,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20746,
    "c": 0.06732,
    "h": 264.8
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#081536
secondary
#755E25
accent
#BC37F1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #081536

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

Preview Lab → · Contrast checker → · Palette generator →

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