#081B37#081B37

#081B37 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.060 H 258.1°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#081B37
RGBrgb(8, 27, 55)
HSLhsl(216, 75%, 12%)
HSVhsv(216, 85%, 22%)
CMYKcmyk(85.5%, 50.9%, 0%, 78.4%)
CIE-LABlab(9.89, 4.25, -20.53)
CIE-LCHlch(9.89, 20.97, 281.69°)
OKLaboklab(22.44% -0.0124 -0.0587)
OKLCHoklch(22.44% 0.06 258.1)
XYZxyz(1.1814, 1.1112, 3.7659)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B37 #372408
analogous
#083237 #081B37 #0D0837
triadic
#081B37 #37081B #1B3708
tetradic
#081B37 #370832 #372408 #08370D
square
#081B37 #370832 #372408 #08370D
split-complementary
#081B37 #370D08 #323708
monochromatic
#040D1B #040D1B #081B37 #10356C #184FA2

Accessibility & contrast

On white

17.18
#081B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081B37
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B37#FFFFFF#000000##FFFFFF
##081B371.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E38
Deuteranopia (green-blind)
#051936
Tritanopia (blue-blind)
#002226
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081b37;
/* rgb */ color: rgb(8, 27, 55);
/* oklch */ color: oklch(22.4% 0.060 258.1);
Tailwind
colors: {
  custom: {
    50: '#4f566e',
    500: '#081b37',
    950: '#000000',
  },
}
SCSS
$custom: #081b37;
$custom-light: #4f566e;
$custom-dark: #000000;
JSON
{
  "hex": "#081b37",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 55
  },
  "hsl": {
    "h": 215.745,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22438,
    "c": 0.06004,
    "h": 258.1
  },
  "luminance": 0.01111
}

Semantic roles & 50–950 ramp

primary
#081B37
secondary
#765525
accent
#A637F1
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020307
muted
#78787A

Preview Lab

Preview with #081B37

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

Preview Lab → · Contrast checker → · Palette generator →

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