#081B3B#081B3B

#081B3B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 22.8% C 0.067 H 260.1°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#081B3B
RGBrgb(8, 27, 59)
HSLhsl(218, 76%, 13%)
HSVhsv(218, 86%, 23%)
CMYKcmyk(86.4%, 54.2%, 0%, 76.9%)
CIE-LABlab(10.19, 6.10, -22.91)
CIE-LCHlch(10.19, 23.70, 284.91°)
OKLaboklab(22.77% -0.0115 -0.0657)
OKLCHoklch(22.77% 0.067 260.1)
XYZxyz(1.2812, 1.1511, 4.2915)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B3B #3B2808
analogous
#08343B #081B3B #0E083B
triadic
#081B3B #3B081B #1B3B08
tetradic
#081B3B #3B0834 #3B2808 #083B0E
square
#081B3B #3B0834 #3B2808 #083B0E
split-complementary
#081B3B #3B0E08 #343B08
monochromatic
#040C1B #040C1B #081B3B #0F3471 #174CA7

Accessibility & contrast

On white

17.07
#081B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#081B3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081B3B
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B3B#FFFFFF#000000##FFFFFF
##081B3B1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1E3C
Deuteranopia (green-blind)
#011A3A
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081b3b;
/* rgb */ color: rgb(8, 27, 59);
/* oklch */ color: oklch(22.8% 0.067 260.1);
Tailwind
colors: {
  custom: {
    50: '#505671',
    500: '#081b3b',
    950: '#000000',
  },
}
SCSS
$custom: #081b3b;
$custom-light: #505671;
$custom-dark: #000000;
JSON
{
  "hex": "#081b3b",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 59
  },
  "hsl": {
    "h": 217.647,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22773,
    "c": 0.06672,
    "h": 260.1
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#081B3B
secondary
#7A5A25
accent
#AC35F3
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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