#081A41#081A41

#081A41 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.1% C 0.078 H 263.0°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#081A41
RGBrgb(8, 26, 65)
HSLhsl(221, 78%, 14%)
HSVhsv(221, 88%, 25%)
CMYKcmyk(87.7%, 60%, 0%, 74.5%)
CIE-LABlab(10.35, 9.67, -26.91)
CIE-LCHlch(10.35, 28.59, 289.77°)
OKLaboklab(23.05% -0.0095 -0.0775)
OKLCHoklch(23.05% 0.078 263)
XYZxyz(1.4233, 1.1719, 5.1512)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A41 #412F08
analogous
#083741 #081A41 #130841
triadic
#081A41 #41081A #1A4108
tetradic
#081A41 #410837 #412F08 #084113
square
#081A41 #410837 #412F08 #084113
split-complementary
#081A41 #411308 #374108
monochromatic
#030B1B #030B1B #081A41 #0F3077 #1546AE

Accessibility & contrast

On white

17.01
#081A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#081A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081A41
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A41#FFFFFF#000000##FFFFFF
##081A411.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F42
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081a41;
/* rgb */ color: rgb(8, 26, 65);
/* oklch */ color: oklch(23.1% 0.078 263.0);
Tailwind
colors: {
  custom: {
    50: '#525576',
    500: '#081a41',
    950: '#000000',
  },
}
SCSS
$custom: #081a41;
$custom-light: #525576;
$custom-dark: #000000;
JSON
{
  "hex": "#081a41",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 221.053,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23051,
    "c": 0.07811,
    "h": 263
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#081A41
secondary
#7F6325
accent
#B833F5
background
#F4F4F7
surface
#E7E8ED
border
#C3C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #081A41

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

Preview Lab → · Contrast checker → · Palette generator →

#081A41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva