#081440#081440

#081440 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.085 H 266.9°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#081440
RGBrgb(8, 20, 64)
HSLhsl(227, 78%, 14%)
HSVhsv(227, 88%, 25%)
CMYKcmyk(87.5%, 68.8%, 0%, 74.9%)
CIE-LABlab(8.32, 13.97, -29.49)
CIE-LCHlch(8.32, 32.63, 295.35°)
OKLaboklab(21.5% -0.0046 -0.0852)
OKLCHoklch(21.5% 0.085 266.9)
XYZxyz(1.2754, 0.9220, 4.9602)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081440 #403408
analogous
#083040 #081440 #180840
triadic
#081440 #400814 #144008
tetradic
#081440 #400830 #403408 #084018
square
#081440 #400830 #403408 #084018
split-complementary
#081440 #401808 #304008
monochromatic
#03081B #03081B #081440 #0F2576 #1636AD

Accessibility & contrast

On white

17.73
#081440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081440
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081440#FFFFFF#000000##FFFFFF
##0814401.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#00163F
Tritanopia (blue-blind)
#001F27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #081440;
/* rgb */ color: rgb(8, 20, 64);
/* oklch */ color: oklch(21.5% 0.085 266.9);
Tailwind
colors: {
  custom: {
    50: '#525175',
    500: '#081440',
    950: '#000000',
  },
}
SCSS
$custom: #081440;
$custom-light: #525175;
$custom-dark: #000000;
JSON
{
  "hex": "#081440",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 64
  },
  "hsl": {
    "h": 227.143,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.215,
    "c": 0.08536,
    "h": 266.9
  },
  "luminance": 0.00922
}

Semantic roles & 50–950 ramp

primary
#081440
secondary
#7E6B25
accent
#CB34F4
background
#F4F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #081440

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

Preview Lab → · Contrast checker → · Palette generator →

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