#081C41#081C41

#081C41 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.6% C 0.075 H 261.3°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#081C41
RGBrgb(8, 28, 65)
HSLhsl(219, 78%, 14%)
HSVhsv(219, 88%, 25%)
CMYKcmyk(87.7%, 56.9%, 0%, 74.5%)
CIE-LABlab(11.02, 8.09, -25.82)
CIE-LCHlch(11.02, 27.06, 287.40°)
OKLaboklab(23.56% -0.0114 -0.0743)
OKLCHoklch(23.56% 0.075 261.3)
XYZxyz(1.4692, 1.2636, 5.1665)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081C41 #412D08
analogous
#083941 #081C41 #110841
triadic
#081C41 #41081C #1C4108
tetradic
#081C41 #410839 #412D08 #084111
square
#081C41 #410839 #412D08 #084111
split-complementary
#081C41 #411108 #394108
monochromatic
#030C1B #030C1B #081C41 #0F3377 #154BAE

Accessibility & contrast

On white

16.76
#081C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#081C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081C41
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081C41#FFFFFF#000000##FFFFFF
##081C411.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062042
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #081c41;
/* rgb */ color: rgb(8, 28, 65);
/* oklch */ color: oklch(23.6% 0.075 261.3);
Tailwind
colors: {
  custom: {
    50: '#525776',
    500: '#081c41',
    950: '#000000',
  },
}
SCSS
$custom: #081c41;
$custom-light: #525776;
$custom-dark: #000000;
JSON
{
  "hex": "#081c41",
  "rgb": {
    "r": 8,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 218.947,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23562,
    "c": 0.07516,
    "h": 261.3
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#081C41
secondary
#7F6025
accent
#B133F5
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #081C41

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

Preview Lab → · Contrast checker → · Palette generator →

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