#081A39#081A39

#081A39 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.3% C 0.065 H 260.4°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#081A39
RGBrgb(8, 26, 57)
HSLhsl(218, 75%, 13%)
HSVhsv(218, 86%, 22%)
CMYKcmyk(86%, 54.4%, 0%, 77.6%)
CIE-LABlab(9.69, 5.96, -22.29)
CIE-LCHlch(9.69, 23.07, 284.98°)
OKLaboklab(22.33% -0.0108 -0.0639)
OKLCHoklch(22.33% 0.065 260.4)
XYZxyz(1.2078, 1.0857, 4.0160)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A39 #392708
analogous
#083239 #081A39 #0E0839
triadic
#081A39 #39081A #1A3908
tetradic
#081A39 #390832 #392708 #08390E
square
#081A39 #390832 #392708 #08390E
split-complementary
#081A39 #390E08 #323908
monochromatic
#040C1B #040C1B #081A39 #10326F #174BA4

Accessibility & contrast

On white

17.25
#081A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#081A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##081A39#FFFFFF#000000##FFFFFF
##081A391.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)
#091D3A
Deuteranopia (green-blind)
#011938
Tritanopia (blue-blind)
#002126
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081a39;
/* rgb */ color: rgb(8, 26, 57);
/* oklch */ color: oklch(22.3% 0.065 260.4);
Tailwind
colors: {
  custom: {
    50: '#50556f',
    500: '#081a39',
    950: '#000000',
  },
}
SCSS
$custom: #081a39;
$custom-light: #50556f;
$custom-dark: #000000;
JSON
{
  "hex": "#081a39",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 217.959,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22334,
    "c": 0.06485,
    "h": 260.4
  },
  "luminance": 0.01086
}

Semantic roles & 50–950 ramp

primary
#081A39
secondary
#785925
accent
#AD36F2
background
#F4F4F6
surface
#E7E8EC
border
#C3C4C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081A39

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

Preview Lab → · Contrast checker → · Palette generator →

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