#081A3A#081A3A

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

Color values

HEX#081A3A
RGBrgb(8, 26, 58)
HSLhsl(218, 76%, 13%)
HSVhsv(218, 86%, 23%)
CMYKcmyk(86.2%, 55.2%, 0%, 77.3%)
CIE-LABlab(9.77, 6.43, -22.88)
CIE-LCHlch(9.77, 23.76, 285.69°)
OKLaboklab(22.42% -0.0106 -0.0657)
OKLCHoklch(22.42% 0.067 260.8)
XYZxyz(1.2330, 1.0958, 4.1487)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A3A #3A2808
analogous
#08333A #081A3A #0F083A
triadic
#081A3A #3A081A #1A3A08
tetradic
#081A3A #3A0833 #3A2808 #083A0F
square
#081A3A #3A0833 #3A2808 #083A0F
split-complementary
#081A3A #3A0F08 #333A08
monochromatic
#040C1B #040C1B #081A3A #0F3270 #174AA6

Accessibility & contrast

On white

17.22
#081A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081A3A
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A3A#FFFFFF#000000##FFFFFF
##081A3A1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3B
Deuteranopia (green-blind)
#001939
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081a3a;
/* rgb */ color: rgb(8, 26, 58);
/* oklch */ color: oklch(22.4% 0.067 260.8);
Tailwind
colors: {
  custom: {
    50: '#505570',
    500: '#081a3a',
    950: '#000000',
  },
}
SCSS
$custom: #081a3a;
$custom-light: #505570;
$custom-dark: #000000;
JSON
{
  "hex": "#081a3a",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 218.4,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2242,
    "c": 0.06653,
    "h": 260.8
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#081A3A
secondary
#795B25
accent
#AE35F2
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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