#081F41#081F41

#081F41 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.071 H 258.4°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#081F41
RGBrgb(8, 31, 65)
HSLhsl(216, 78%, 14%)
HSVhsv(216, 88%, 25%)
CMYKcmyk(87.7%, 52.3%, 0%, 74.5%)
CIE-LABlab(12.04, 5.75, -24.17)
CIE-LCHlch(12.04, 24.84, 283.37°)
OKLaboklab(24.35% -0.0143 -0.0694)
OKLCHoklch(24.35% 0.071 258.4)
XYZxyz(1.5439, 1.4131, 5.1914)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081F41 #412A08
analogous
#083C41 #081F41 #0D0841
triadic
#081F41 #41081F #1F4108
tetradic
#081F41 #41083C #412A08 #08410D
square
#081F41 #41083C #412A08 #08410D
split-complementary
#081F41 #410D08 #3C4108
monochromatic
#030D1B #030D1B #081F41 #0F3977 #1553AE

Accessibility & contrast

On white

16.37
#081F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#081F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081F41
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081F41#FFFFFF#000000##FFFFFF
##081F411.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2242
Deuteranopia (green-blind)
#021D40
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #081f41;
/* rgb */ color: rgb(8, 31, 65);
/* oklch */ color: oklch(24.3% 0.071 258.4);
Tailwind
colors: {
  custom: {
    50: '#525a76',
    500: '#081f41',
    950: '#000000',
  },
}
SCSS
$custom: #081f41;
$custom-light: #525a76;
$custom-dark: #000000;
JSON
{
  "hex": "#081f41",
  "rgb": {
    "r": 8,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 215.789,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24349,
    "c": 0.07082,
    "h": 258.4
  },
  "luminance": 0.01413
}

Semantic roles & 50–950 ramp

primary
#081F41
secondary
#7F5B25
accent
#A733F5
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081F41

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

Preview Lab → · Contrast checker → · Palette generator →

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