#081034#081034

#081034 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.3% C 0.072 H 268.9°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#081034
RGBrgb(8, 16, 52)
HSLhsl(229, 73%, 12%)
HSVhsv(229, 85%, 20%)
CMYKcmyk(84.6%, 69.2%, 0%, 79.6%)
CIE-LABlab(6.05, 10.93, -24.52)
CIE-LCHlch(6.05, 26.85, 294.02°)
OKLaboklab(19.3% -0.0013 -0.0716)
OKLCHoklch(19.3% 0.072 268.9)
XYZxyz(0.9051, 0.6700, 3.3298)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081034 #342C08
analogous
#082634 #081034 #160834
triadic
#081034 #340810 #103408
tetradic
#081034 #340826 #342C08 #083416
square
#081034 #340826 #342C08 #083416
split-complementary
#081034 #341608 #263408
monochromatic
#04081B #04081B #081034 #102069 #18319E

Accessibility & contrast

On white

18.52
#081034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#081034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081034
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081034#FFFFFF#000000##FFFFFF
##0810341.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#001133
Tritanopia (blue-blind)
#00191F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #081034;
/* rgb */ color: rgb(8, 16, 52);
/* oklch */ color: oklch(19.3% 0.072 268.9);
Tailwind
colors: {
  custom: {
    50: '#4e4e6c',
    500: '#081034',
    950: '#000000',
  },
}
SCSS
$custom: #081034;
$custom-light: #4e4e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#081034",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 229.091,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19301,
    "c": 0.07165,
    "h": 268.9
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#081034
secondary
#736525
accent
#CF38F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020107
muted
#78777A

Preview Lab

Preview with #081034

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

Preview Lab → · Contrast checker → · Palette generator →

#081034 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva