#081834#081834

#081834 is a very dark, muted blue. Relative luminance 0.010; OKLCH L 21.4% C 0.059 H 260.6°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#081834
RGBrgb(8, 24, 52)
HSLhsl(218, 73%, 12%)
HSVhsv(218, 85%, 20%)
CMYKcmyk(84.6%, 53.8%, 0%, 79.6%)
CIE-LABlab(8.59, 5.23, -20.44)
CIE-LCHlch(8.59, 21.10, 284.37°)
OKLaboklab(21.37% -0.0097 -0.0585)
OKLCHoklch(21.37% 0.059 260.6)
XYZxyz(1.0464, 0.9527, 3.3769)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081834 #342408
analogous
#082E34 #081834 #0E0834
triadic
#081834 #340818 #183408
tetradic
#081834 #34082E #342408 #08340E
square
#081834 #34082E #342408 #08340E
split-complementary
#081834 #340E08 #2E3408
monochromatic
#040C1B #040C1B #081834 #103069 #18499E

Accessibility & contrast

On white

17.64
#081834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#081834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081834
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081834#FFFFFF#000000##FFFFFF
##0818341.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1B35
Deuteranopia (green-blind)
#031733
Tritanopia (blue-blind)
#001F23
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #081834;
/* rgb */ color: rgb(8, 24, 52);
/* oklch */ color: oklch(21.4% 0.059 260.6);
Tailwind
colors: {
  custom: {
    50: '#4e546b',
    500: '#081834',
    950: '#000000',
  },
}
SCSS
$custom: #081834;
$custom-light: #4e546b;
$custom-dark: #000000;
JSON
{
  "hex": "#081834",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 218.182,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21366,
    "c": 0.05934,
    "h": 260.6
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#081834
secondary
#735725
accent
#AD38F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #081834

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

Preview Lab → · Contrast checker → · Palette generator →

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