#081841#081841

#081841 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.081 H 264.5°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#081841
RGBrgb(8, 24, 65)
HSLhsl(223, 78%, 14%)
HSVhsv(223, 88%, 25%)
CMYKcmyk(87.7%, 63.1%, 0%, 74.5%)
CIE-LABlab(9.69, 11.26, -27.97)
CIE-LCHlch(9.69, 30.15, 291.92°)
OKLaboklab(22.55% -0.0078 -0.0807)
OKLCHoklch(22.55% 0.081 264.5)
XYZxyz(1.3806, 1.0864, 5.1369)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081841 #413108
analogous
#083541 #081841 #150841
triadic
#081841 #410818 #184108
tetradic
#081841 #410835 #413108 #084115
square
#081841 #410835 #413108 #084115
split-complementary
#081841 #411508 #354108
monochromatic
#030A1B #030A1B #081841 #0F2C77 #1540AE

Accessibility & contrast

On white

17.25
#081841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#081841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081841
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081841#FFFFFF#000000##FFFFFF
##0818411.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081841;
/* rgb */ color: rgb(8, 24, 65);
/* oklch */ color: oklch(22.6% 0.081 264.5);
Tailwind
colors: {
  custom: {
    50: '#525476',
    500: '#081841',
    950: '#000000',
  },
}
SCSS
$custom: #081841;
$custom-light: #525476;
$custom-dark: #000000;
JSON
{
  "hex": "#081841",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 223.158,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22554,
    "c": 0.08108,
    "h": 264.5
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#081841
secondary
#7F6625
accent
#BE33F5
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #081841

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

Preview Lab → · Contrast checker → · Palette generator →

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