#081541#081541

#081541 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 21.8% C 0.086 H 266.4°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#081541
RGBrgb(8, 21, 65)
HSLhsl(226, 78%, 14%)
HSVhsv(226, 88%, 25%)
CMYKcmyk(87.7%, 67.7%, 0%, 74.5%)
CIE-LABlab(8.73, 13.63, -29.53)
CIE-LCHlch(8.73, 32.53, 294.78°)
OKLaboklab(21.84% -0.0053 -0.0853)
OKLCHoklch(21.84% 0.086 266.4)
XYZxyz(1.3221, 0.9695, 5.1174)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081541 #413408
analogous
#083241 #081541 #180841
triadic
#081541 #410815 #154108
tetradic
#081541 #410832 #413408 #084118
square
#081541 #410832 #413408 #084118
split-complementary
#081541 #411808 #324108
monochromatic
#03091B #03091B #081541 #0F2777 #1538AE

Accessibility & contrast

On white

17.59
#081541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081541
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081541#FFFFFF#000000##FFFFFF
##0815411.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #081541;
/* rgb */ color: rgb(8, 21, 65);
/* oklch */ color: oklch(21.8% 0.086 266.4);
Tailwind
colors: {
  custom: {
    50: '#525176',
    500: '#081541',
    950: '#000000',
  },
}
SCSS
$custom: #081541;
$custom-light: #525176;
$custom-dark: #000000;
JSON
{
  "hex": "#081541",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 226.316,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21836,
    "c": 0.08551,
    "h": 266.4
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#081541
secondary
#7F6B25
accent
#C833F5
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #081541

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

Preview Lab → · Contrast checker → · Palette generator →

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