#081C3A#081C3A

#081C3A is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.0% C 0.064 H 258.4°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#081C3A
RGBrgb(8, 28, 58)
HSLhsl(216, 76%, 13%)
HSVhsv(216, 86%, 23%)
CMYKcmyk(86.2%, 51.7%, 0%, 77.3%)
CIE-LABlab(10.46, 4.85, -21.75)
CIE-LCHlch(10.46, 22.29, 282.56°)
OKLaboklab(22.96% -0.0127 -0.0623)
OKLCHoklch(22.96% 0.064 258.4)
XYZxyz(1.2788, 1.1875, 4.1640)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081C3A #3A2608
analogous
#08353A #081C3A #0D083A
triadic
#081C3A #3A081C #1C3A08
tetradic
#081C3A #3A0835 #3A2608 #083A0D
square
#081C3A #3A0835 #3A2608 #083A0D
split-complementary
#081C3A #3A0D08 #353A08
monochromatic
#040D1B #040D1B #081C3A #0F3670 #1750A6

Accessibility & contrast

On white

16.97
#081C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#081C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081C3A
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081C3A#FFFFFF#000000##FFFFFF
##081C3A1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1F3B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#002328
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081c3a;
/* rgb */ color: rgb(8, 28, 58);
/* oklch */ color: oklch(23.0% 0.064 258.4);
Tailwind
colors: {
  custom: {
    50: '#505770',
    500: '#081c3a',
    950: '#000000',
  },
}
SCSS
$custom: #081c3a;
$custom-light: #505770;
$custom-dark: #000000;
JSON
{
  "hex": "#081c3a",
  "rgb": {
    "r": 8,
    "g": 28,
    "b": 58
  },
  "hsl": {
    "h": 216,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22959,
    "c": 0.06361,
    "h": 258.4
  },
  "luminance": 0.01188
}

Semantic roles & 50–950 ramp

primary
#081C3A
secondary
#795725
accent
#A735F2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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