#081342#081342

#081342 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.090 H 267.5°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#081342
RGBrgb(8, 19, 66)
HSLhsl(229, 78%, 15%)
HSVhsv(229, 88%, 26%)
CMYKcmyk(87.9%, 71.2%, 0%, 74.1%)
CIE-LABlab(8.22, 15.65, -31.07)
CIE-LCHlch(8.22, 34.79, 296.73°)
OKLaboklab(21.49% -0.0039 -0.0899)
OKLCHoklch(21.49% 0.09 267.5)
XYZxyz(1.3160, 0.9106, 5.2596)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081342 #423708
analogous
#083042 #081342 #1A0842
triadic
#081342 #420813 #134208
tetradic
#081342 #420830 #423708 #08421A
square
#081342 #420830 #423708 #08421A
split-complementary
#081342 #421A08 #304208
monochromatic
#03081B #03081B #081342 #0F2379 #1532AF

Accessibility & contrast

On white

17.76
#081342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#081342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081342
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081342#FFFFFF#000000##FFFFFF
##0813421.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001541
Tritanopia (blue-blind)
#001F28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #081342;
/* rgb */ color: rgb(8, 19, 66);
/* oklch */ color: oklch(21.5% 0.090 267.5);
Tailwind
colors: {
  custom: {
    50: '#535077',
    500: '#081342',
    950: '#000000',
  },
}
SCSS
$custom: #081342;
$custom-light: #535077;
$custom-dark: #000000;
JSON
{
  "hex": "#081342",
  "rgb": {
    "r": 8,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 228.621,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21488,
    "c": 0.08997,
    "h": 267.5
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#081342
secondary
#806F25
accent
#D033F5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #081342

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

Preview Lab → · Contrast checker → · Palette generator →

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