#081B36#081B36

#081B36 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.4% C 0.058 H 257.5°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#081B36
RGBrgb(8, 27, 54)
HSLhsl(215, 74%, 12%)
HSVhsv(215, 85%, 21%)
CMYKcmyk(85.2%, 50%, 0%, 78.8%)
CIE-LABlab(9.81, 3.79, -19.93)
CIE-LCHlch(9.81, 20.29, 280.75°)
OKLaboklab(22.36% -0.0126 -0.057)
OKLCHoklch(22.36% 0.058 257.5)
XYZxyz(1.1577, 1.1017, 3.6409)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B36 #362308
analogous
#083236 #081B36 #0C0836
triadic
#081B36 #36081B #1B3608
tetradic
#081B36 #360832 #362308 #08360C
square
#081B36 #360832 #362308 #08360C
split-complementary
#081B36 #360C08 #323608
monochromatic
#040D1B #040D1B #081B36 #10366B #1850A1

Accessibility & contrast

On white

17.21
#081B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#081B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081B36
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B36#FFFFFF#000000##FFFFFF
##081B361.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1D37
Deuteranopia (green-blind)
#061935
Tritanopia (blue-blind)
#002125
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081b36;
/* rgb */ color: rgb(8, 27, 54);
/* oklch */ color: oklch(22.4% 0.058 257.5);
Tailwind
colors: {
  custom: {
    50: '#4f566d',
    500: '#081b36',
    950: '#000000',
  },
}
SCSS
$custom: #081b36;
$custom-light: #4f566d;
$custom-dark: #000000;
JSON
{
  "hex": "#081b36",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 215.217,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22357,
    "c": 0.05836,
    "h": 257.5
  },
  "luminance": 0.01102
}

Semantic roles & 50–950 ramp

primary
#081B36
secondary
#755425
accent
#A437F1
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #081B36

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

Preview Lab → · Contrast checker → · Palette generator →

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