#081A34#081A34

#081A34 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.9% C 0.056 H 257.7°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#081A34
RGBrgb(8, 26, 52)
HSLhsl(215, 73%, 12%)
HSVhsv(215, 85%, 20%)
CMYKcmyk(84.6%, 50%, 0%, 79.6%)
CIE-LABlab(9.31, 3.65, -19.29)
CIE-LCHlch(9.31, 19.64, 280.70°)
OKLaboklab(21.92% -0.012 -0.0551)
OKLCHoklch(21.92% 0.056 257.7)
XYZxyz(1.0891, 1.0382, 3.3911)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A34 #342208
analogous
#083034 #081A34 #0C0834
triadic
#081A34 #34081A #1A3408
tetradic
#081A34 #340830 #342208 #08340C
square
#081A34 #340830 #342208 #08340C
split-complementary
#081A34 #340C08 #303408
monochromatic
#040D1B #040D1B #081A34 #103569 #184F9E

Accessibility & contrast

On white

17.39
#081A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#081A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081A34
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A34#FFFFFF#000000##FFFFFF
##081A341.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1C35
Deuteranopia (green-blind)
#061833
Tritanopia (blue-blind)
#002024
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081a34;
/* rgb */ color: rgb(8, 26, 52);
/* oklch */ color: oklch(21.9% 0.056 257.7);
Tailwind
colors: {
  custom: {
    50: '#4e566b',
    500: '#081a34',
    950: '#000000',
  },
}
SCSS
$custom: #081a34;
$custom-light: #4e566b;
$custom-dark: #000000;
JSON
{
  "hex": "#081a34",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 52
  },
  "hsl": {
    "h": 215.455,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21918,
    "c": 0.05642,
    "h": 257.7
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#081A34
secondary
#735325
accent
#A538F0
background
#F4F4F6
surface
#E7E8EB
border
#C3C4C6
text
#020306
muted
#78787A

Preview Lab

Preview with #081A34

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

Preview Lab → · Contrast checker → · Palette generator →

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