#081B40#081B40

#081B40 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.2% C 0.075 H 261.9°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#081B40
RGBrgb(8, 27, 64)
HSLhsl(220, 78%, 14%)
HSVhsv(220, 88%, 25%)
CMYKcmyk(87.5%, 57.8%, 0%, 74.9%)
CIE-LABlab(10.60, 8.42, -25.80)
CIE-LCHlch(10.60, 27.14, 288.07°)
OKLaboklab(23.21% -0.0106 -0.0742)
OKLCHoklch(23.21% 0.075 261.9)
XYZxyz(1.4172, 1.2055, 5.0075)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B40 #402D08
analogous
#083740 #081B40 #110840
triadic
#081B40 #40081B #1B4008
tetradic
#081B40 #400837 #402D08 #084011
square
#081B40 #400837 #402D08 #084011
split-complementary
#081B40 #401108 #374008
monochromatic
#030B1B #030B1B #081B40 #0F3276 #1649AD

Accessibility & contrast

On white

16.92
#081B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#081B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081B40
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B40#FFFFFF#000000##FFFFFF
##081B401.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051F41
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#00242A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #081b40;
/* rgb */ color: rgb(8, 27, 64);
/* oklch */ color: oklch(23.2% 0.075 261.9);
Tailwind
colors: {
  custom: {
    50: '#525675',
    500: '#081b40',
    950: '#000000',
  },
}
SCSS
$custom: #081b40;
$custom-light: #525675;
$custom-dark: #000000;
JSON
{
  "hex": "#081b40",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 219.643,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23214,
    "c": 0.07499,
    "h": 261.9
  },
  "luminance": 0.01206
}

Semantic roles & 50–950 ramp

primary
#081B40
secondary
#7E6025
accent
#B334F4
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020308
muted
#78787B

Preview Lab

Preview with #081B40

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

Preview Lab → · Contrast checker → · Palette generator →

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