#081741#081741

#081741 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.083 H 265.2°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#081741
RGBrgb(8, 23, 65)
HSLhsl(224, 78%, 14%)
HSVhsv(224, 88%, 25%)
CMYKcmyk(87.7%, 64.6%, 0%, 74.5%)
CIE-LABlab(9.37, 12.05, -28.50)
CIE-LCHlch(9.37, 30.94, 292.92°)
OKLaboklab(22.31% -0.0069 -0.0823)
OKLCHoklch(22.31% 0.083 265.2)
XYZxyz(1.3603, 1.0459, 5.1302)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081741 #413208
analogous
#083441 #081741 #160841
triadic
#081741 #410817 #174108
tetradic
#081741 #410834 #413208 #084116
square
#081741 #410834 #413208 #084116
split-complementary
#081741 #411608 #344108
monochromatic
#030A1B #030A1B #081741 #0F2A77 #153EAE

Accessibility & contrast

On white

17.37
#081741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#081741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081741
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081741#FFFFFF#000000##FFFFFF
##0817411.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#002129
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081741;
/* rgb */ color: rgb(8, 23, 65);
/* oklch */ color: oklch(22.3% 0.083 265.2);
Tailwind
colors: {
  custom: {
    50: '#525376',
    500: '#081741',
    950: '#000000',
  },
}
SCSS
$custom: #081741;
$custom-light: #525376;
$custom-dark: #000000;
JSON
{
  "hex": "#081741",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 224.211,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22311,
    "c": 0.08256,
    "h": 265.2
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#081741
secondary
#7F6825
accent
#C233F5
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #081741

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

Preview Lab → · Contrast checker → · Palette generator →

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