#081B42#081B42

#081B42 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.4% C 0.078 H 262.4°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#081B42
RGBrgb(8, 27, 66)
HSLhsl(220, 78%, 15%)
HSVhsv(220, 88%, 26%)
CMYKcmyk(87.9%, 59.1%, 0%, 74.1%)
CIE-LABlab(10.77, 9.34, -26.93)
CIE-LCHlch(10.77, 28.51, 289.13°)
OKLaboklab(23.4% -0.0103 -0.0776)
OKLCHoklch(23.4% 0.078 262.4)
XYZxyz(1.4751, 1.2287, 5.3126)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081B42 #422F08
analogous
#083842 #081B42 #120842
triadic
#081B42 #42081B #1B4208
tetradic
#081B42 #420838 #422F08 #084212
square
#081B42 #420838 #422F08 #084212
split-complementary
#081B42 #421208 #384208
monochromatic
#030B1B #030B1B #081B42 #0F3179 #1548AF

Accessibility & contrast

On white

16.86
#081B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#081B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081B42
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081B42#FFFFFF#000000##FFFFFF
##081B421.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022043
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #081b42;
/* rgb */ color: rgb(8, 27, 66);
/* oklch */ color: oklch(23.4% 0.078 262.4);
Tailwind
colors: {
  custom: {
    50: '#525677',
    500: '#081b42',
    950: '#000000',
  },
}
SCSS
$custom: #081b42;
$custom-light: #525677;
$custom-dark: #000000;
JSON
{
  "hex": "#081b42",
  "rgb": {
    "r": 8,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 220.345,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23397,
    "c": 0.07826,
    "h": 262.4
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#081B42
secondary
#806325
accent
#B533F5
background
#F4F5F7
surface
#E8E9ED
border
#C4C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #081B42

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

Preview Lab → · Contrast checker → · Palette generator →

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