#081442#081442

#081442 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.7% C 0.089 H 267.0°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#081442
RGBrgb(8, 20, 66)
HSLhsl(228, 78%, 15%)
HSVhsv(228, 88%, 26%)
CMYKcmyk(87.9%, 69.7%, 0%, 74.1%)
CIE-LABlab(8.53, 14.87, -30.58)
CIE-LCHlch(8.53, 34.01, 295.94°)
OKLaboklab(21.71% -0.0046 -0.0884)
OKLCHoklch(21.71% 0.089 267)
XYZxyz(1.3333, 0.9451, 5.2654)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081442 #423608
analogous
#083142 #081442 #190842
triadic
#081442 #420814 #144208
tetradic
#081442 #420831 #423608 #084219
square
#081442 #420831 #423608 #084219
split-complementary
#081442 #421908 #314208
monochromatic
#03081B #03081B #081442 #0F2579 #1535AF

Accessibility & contrast

On white

17.66
#081442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#081442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081442
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081442#FFFFFF#000000##FFFFFF
##0814421.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #081442;
/* rgb */ color: rgb(8, 20, 66);
/* oklch */ color: oklch(21.7% 0.089 267.0);
Tailwind
colors: {
  custom: {
    50: '#535177',
    500: '#081442',
    950: '#000000',
  },
}
SCSS
$custom: #081442;
$custom-light: #535177;
$custom-dark: #000000;
JSON
{
  "hex": "#081442",
  "rgb": {
    "r": 8,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 227.586,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21712,
    "c": 0.08855,
    "h": 267
  },
  "luminance": 0.00945
}

Semantic roles & 50–950 ramp

primary
#081442
secondary
#806E25
accent
#CD33F5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #081442

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

Preview Lab → · Contrast checker → · Palette generator →

#081442 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva