#081640#081640

#081640 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.0% C 0.082 H 265.7°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#081640
RGBrgb(8, 22, 64)
HSLhsl(225, 78%, 14%)
HSVhsv(225, 88%, 25%)
CMYKcmyk(87.5%, 65.6%, 0%, 74.9%)
CIE-LABlab(8.95, 12.38, -28.46)
CIE-LCHlch(8.95, 31.04, 293.51°)
OKLaboklab(21.97% -0.0062 -0.0822)
OKLCHoklch(21.97% 0.082 265.7)
XYZxyz(1.3121, 0.9955, 4.9725)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081640 #403208
analogous
#083240 #081640 #160840
triadic
#081640 #400816 #164008
tetradic
#081640 #400832 #403208 #084016
square
#081640 #400832 #403208 #084016
split-complementary
#081640 #401608 #324008
monochromatic
#03091B #03091B #081640 #0F2976 #163BAD

Accessibility & contrast

On white

17.51
#081640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#081640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081640
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081640#FFFFFF#000000##FFFFFF
##0816401.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #081640;
/* rgb */ color: rgb(8, 22, 64);
/* oklch */ color: oklch(22.0% 0.082 265.7);
Tailwind
colors: {
  custom: {
    50: '#525275',
    500: '#081640',
    950: '#000000',
  },
}
SCSS
$custom: #081640;
$custom-light: #525275;
$custom-dark: #000000;
JSON
{
  "hex": "#081640",
  "rgb": {
    "r": 8,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 225,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2197,
    "c": 0.08242,
    "h": 265.7
  },
  "luminance": 0.00996
}

Semantic roles & 50–950 ramp

primary
#081640
secondary
#7E6825
accent
#C434F4
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #081640

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

Preview Lab → · Contrast checker → · Palette generator →

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