#081A36#081A36

#081A36 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.1% C 0.060 H 258.9°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#081A36
RGBrgb(8, 26, 54)
HSLhsl(217, 74%, 12%)
HSVhsv(217, 85%, 21%)
CMYKcmyk(85.2%, 51.9%, 0%, 78.8%)
CIE-LABlab(9.45, 4.57, -20.50)
CIE-LCHlch(9.45, 21.01, 282.57°)
OKLaboklab(22.08% -0.0115 -0.0587)
OKLCHoklch(22.08% 0.06 258.9)
XYZxyz(1.1351, 1.0566, 3.6334)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A36 #362408
analogous
#083136 #081A36 #0D0836
triadic
#081A36 #36081A #1A3608
tetradic
#081A36 #360831 #362408 #08360D
square
#081A36 #360831 #362408 #08360D
split-complementary
#081A36 #360D08 #313608
monochromatic
#040D1B #040D1B #081A36 #10346B #184DA1

Accessibility & contrast

On white

17.34
#081A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#081A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081A36
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A36#FFFFFF#000000##FFFFFF
##081A361.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1D37
Deuteranopia (green-blind)
#051835
Tritanopia (blue-blind)
#002125
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081a36;
/* rgb */ color: rgb(8, 26, 54);
/* oklch */ color: oklch(22.1% 0.060 258.9);
Tailwind
colors: {
  custom: {
    50: '#4f566d',
    500: '#081a36',
    950: '#000000',
  },
}
SCSS
$custom: #081a36;
$custom-light: #4f566d;
$custom-dark: #000000;
JSON
{
  "hex": "#081a36",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 54
  },
  "hsl": {
    "h": 216.522,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22081,
    "c": 0.05979,
    "h": 258.9
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#081A36
secondary
#755625
accent
#A837F1
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#020307
muted
#78787A

Preview Lab

Preview with #081A36

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

Preview Lab → · Contrast checker → · Palette generator →

#081A36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva