#081B39#081B39

#081B39 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.6% C 0.063 H 259.2°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#081B39
RGBrgb(8, 27, 57)
HSLhsl(217, 75%, 13%)
HSVhsv(217, 86%, 22%)
CMYKcmyk(86%, 52.6%, 0%, 77.6%)
CIE-LABlab(10.04, 5.17, -21.73)
CIE-LCHlch(10.04, 22.33, 283.39°)
OKLaboklab(22.6% -0.0119 -0.0623)
OKLCHoklch(22.6% 0.063 259.2)
XYZxyz(1.2303, 1.1308, 4.0235)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B39 #392608
analogous
#083339 #081B39 #0E0839
triadic
#081B39 #39081B #1B3908
tetradic
#081B39 #390833 #392608 #08390E
square
#081B39 #390833 #392608 #08390E
split-complementary
#081B39 #390E08 #333908
monochromatic
#040D1B #040D1B #081B39 #10346F #174EA4

Accessibility & contrast

On white

17.13
#081B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#081B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081B39
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B39#FFFFFF#000000##FFFFFF
##081B391.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1E3A
Deuteranopia (green-blind)
#031938
Tritanopia (blue-blind)
#002227
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #081b39;
/* rgb */ color: rgb(8, 27, 57);
/* oklch */ color: oklch(22.6% 0.063 259.2);
Tailwind
colors: {
  custom: {
    50: '#50566f',
    500: '#081b39',
    950: '#000000',
  },
}
SCSS
$custom: #081b39;
$custom-light: #50566f;
$custom-dark: #000000;
JSON
{
  "hex": "#081b39",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 216.735,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22604,
    "c": 0.06339,
    "h": 259.2
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#081B39
secondary
#785825
accent
#A936F2
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020307
muted
#78787A

Preview Lab

Preview with #081B39

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

Preview Lab → · Contrast checker → · Palette generator →

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