#081341#081341

#081341 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.088 H 267.5°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#081341
RGBrgb(8, 19, 65)
HSLhsl(228, 78%, 14%)
HSVhsv(228, 88%, 25%)
CMYKcmyk(87.7%, 70.8%, 0%, 74.5%)
CIE-LABlab(8.12, 15.21, -30.54)
CIE-LCHlch(8.12, 34.11, 296.47°)
OKLaboklab(21.38% -0.0038 -0.0883)
OKLCHoklch(21.38% 0.088 267.5)
XYZxyz(1.2868, 0.8989, 5.1057)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081341 #413608
analogous
#083041 #081341 #1A0841
triadic
#081341 #410813 #134108
tetradic
#081341 #410830 #413608 #08411A
square
#081341 #410830 #413608 #08411A
split-complementary
#081341 #411A08 #304108
monochromatic
#03081B #03081B #081341 #0F2377 #1533AE

Accessibility & contrast

On white

17.80
#081341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#081341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081341
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081341#FFFFFF#000000##FFFFFF
##0813411.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #081341;
/* rgb */ color: rgb(8, 19, 65);
/* oklch */ color: oklch(21.4% 0.088 267.5);
Tailwind
colors: {
  custom: {
    50: '#535076',
    500: '#081341',
    950: '#000000',
  },
}
SCSS
$custom: #081341;
$custom-light: #535076;
$custom-dark: #000000;
JSON
{
  "hex": "#081341",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 228.421,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21379,
    "c": 0.08839,
    "h": 267.5
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#081341
secondary
#7F6E25
accent
#CF33F5
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #081341

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

Preview Lab → · Contrast checker → · Palette generator →

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