#081734#081734

#081734 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.061 H 261.9°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#081734
RGBrgb(8, 23, 52)
HSLhsl(220, 73%, 12%)
HSVhsv(220, 85%, 20%)
CMYKcmyk(84.6%, 55.8%, 0%, 79.6%)
CIE-LABlab(8.24, 6.03, -21.01)
CIE-LCHlch(8.24, 21.86, 286.03°)
OKLaboklab(21.09% -0.0086 -0.0602)
OKLCHoklch(21.09% 0.061 261.9)
XYZxyz(1.0261, 0.9122, 3.3701)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081734 #342508
analogous
#082D34 #081734 #0F0834
triadic
#081734 #340817 #173408
tetradic
#081734 #34082D #342508 #08340F
square
#081734 #34082D #342508 #08340F
split-complementary
#081734 #340F08 #2D3408
monochromatic
#040C1B #040C1B #081734 #102E69 #18469E

Accessibility & contrast

On white

17.76
#081734 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#081734 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081734
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081734#FFFFFF#000000##FFFFFF
##0817341.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081A35
Deuteranopia (green-blind)
#011633
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #081734;
/* rgb */ color: rgb(8, 23, 52);
/* oklch */ color: oklch(21.1% 0.061 261.9);
Tailwind
colors: {
  custom: {
    50: '#4e536c',
    500: '#081734',
    950: '#000000',
  },
}
SCSS
$custom: #081734;
$custom-light: #4e536c;
$custom-dark: #000000;
JSON
{
  "hex": "#081734",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 52
  },
  "hsl": {
    "h": 219.545,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21094,
    "c": 0.06084,
    "h": 261.9
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#081734
secondary
#735825
accent
#B138F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #081734

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

Preview Lab → · Contrast checker → · Palette generator →

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