#081A42#081A42

#081A42 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.1% C 0.080 H 263.2°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#081A42
RGBrgb(8, 26, 66)
HSLhsl(221, 78%, 15%)
HSVhsv(221, 88%, 26%)
CMYKcmyk(87.9%, 60.6%, 0%, 74.1%)
CIE-LABlab(10.44, 10.13, -27.47)
CIE-LCHlch(10.44, 29.28, 290.25°)
OKLaboklab(23.15% -0.0094 -0.0792)
OKLCHoklch(23.15% 0.08 263.2)
XYZxyz(1.4526, 1.1836, 5.3051)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081A42 #423008
analogous
#083742 #081A42 #130842
triadic
#081A42 #42081A #1A4208
tetradic
#081A42 #420837 #423008 #084213
square
#081A42 #420837 #423008 #084213
split-complementary
#081A42 #421308 #374208
monochromatic
#030B1B #030B1B #081A42 #0F3079 #1545AF

Accessibility & contrast

On white

16.98
#081A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081A42
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081A42#FFFFFF#000000##FFFFFF
##081A421.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #081a42;
/* rgb */ color: rgb(8, 26, 66);
/* oklch */ color: oklch(23.1% 0.080 263.2);
Tailwind
colors: {
  custom: {
    50: '#525577',
    500: '#081a42',
    950: '#000000',
  },
}
SCSS
$custom: #081a42;
$custom-light: #525577;
$custom-dark: #000000;
JSON
{
  "hex": "#081a42",
  "rgb": {
    "r": 8,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 221.379,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23145,
    "c": 0.07974,
    "h": 263.2
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#081A42
secondary
#806425
accent
#B933F5
background
#F4F4F7
surface
#E8E8ED
border
#C4C4C8
text
#030308
muted
#78787B

Preview Lab

Preview with #081A42

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

Preview Lab → · Contrast checker → · Palette generator →

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