#081B3A#081B3A

#081B3A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.065 H 259.7°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#081B3A
RGBrgb(8, 27, 58)
HSLhsl(217, 76%, 13%)
HSVhsv(217, 86%, 23%)
CMYKcmyk(86.2%, 53.4%, 0%, 77.3%)
CIE-LABlab(10.11, 5.64, -22.32)
CIE-LCHlch(10.11, 23.02, 284.18°)
OKLaboklab(22.69% -0.0117 -0.064)
OKLCHoklch(22.69% 0.065 259.7)
XYZxyz(1.2555, 1.1408, 4.1562)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B3A #3A2708
analogous
#08343A #081B3A #0E083A
triadic
#081B3A #3A081B #1B3A08
tetradic
#081B3A #3A0834 #3A2708 #083A0E
square
#081B3A #3A0834 #3A2708 #083A0E
split-complementary
#081B3A #3A0E08 #343A08
monochromatic
#040D1B #040D1B #081B3A #0F3470 #174DA6

Accessibility & contrast

On white

17.10
#081B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081B3A
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B3A#FFFFFF#000000##FFFFFF
##081B3A1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3B
Deuteranopia (green-blind)
#021A39
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081b3a;
/* rgb */ color: rgb(8, 27, 58);
/* oklch */ color: oklch(22.7% 0.065 259.7);
Tailwind
colors: {
  custom: {
    50: '#505670',
    500: '#081b3a',
    950: '#000000',
  },
}
SCSS
$custom: #081b3a;
$custom-light: #505670;
$custom-dark: #000000;
JSON
{
  "hex": "#081b3a",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 58
  },
  "hsl": {
    "h": 217.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22688,
    "c": 0.06506,
    "h": 259.7
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#081B3A
secondary
#795925
accent
#AB35F2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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