#081D41#081D41

#081D41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.074 H 260.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#081D41
RGBrgb(8, 29, 65)
HSLhsl(218, 78%, 14%)
HSVhsv(218, 88%, 25%)
CMYKcmyk(87.7%, 55.4%, 0%, 74.5%)
CIE-LABlab(11.36, 7.31, -25.27)
CIE-LCHlch(11.36, 26.31, 286.13°)
OKLaboklab(23.82% -0.0123 -0.0727)
OKLCHoklch(23.82% 0.074 260.4)
XYZxyz(1.4933, 1.3118, 5.1745)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081D41 #412C08
analogous
#083A41 #081D41 #100841
triadic
#081D41 #41081D #1D4108
tetradic
#081D41 #41083A #412C08 #084110
square
#081D41 #41083A #412C08 #084110
split-complementary
#081D41 #411008 #3A4108
monochromatic
#030C1B #030C1B #081D41 #0F3577 #154EAE

Accessibility & contrast

On white

16.63
#081D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#081D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081D41
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081D41#FFFFFF#000000##FFFFFF
##081D411.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082142
Deuteranopia (green-blind)
#001C40
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #081d41;
/* rgb */ color: rgb(8, 29, 65);
/* oklch */ color: oklch(23.8% 0.074 260.4);
Tailwind
colors: {
  custom: {
    50: '#525876',
    500: '#081d41',
    950: '#000000',
  },
}
SCSS
$custom: #081d41;
$custom-light: #525876;
$custom-dark: #000000;
JSON
{
  "hex": "#081d41",
  "rgb": {
    "r": 8,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 217.895,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23822,
    "c": 0.07369,
    "h": 260.4
  },
  "luminance": 0.01312
}

Semantic roles & 50–950 ramp

primary
#081D41
secondary
#7F5E25
accent
#AD33F5
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #081D41

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

Preview Lab → · Contrast checker → · Palette generator →

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