#081842#081842

#081842 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.083 H 264.6°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#081842
RGBrgb(8, 24, 66)
HSLhsl(223, 78%, 15%)
HSVhsv(223, 88%, 26%)
CMYKcmyk(87.9%, 63.6%, 0%, 74.1%)
CIE-LABlab(9.78, 11.72, -28.53)
CIE-LCHlch(9.78, 30.84, 292.33°)
OKLaboklab(22.65% -0.0077 -0.0823)
OKLCHoklch(22.65% 0.083 264.6)
XYZxyz(1.4098, 1.0981, 5.2908)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081842 #423208
analogous
#083542 #081842 #150842
triadic
#081842 #420818 #184208
tetradic
#081842 #420835 #423208 #084215
square
#081842 #420835 #423208 #084215
split-complementary
#081842 #421508 #354208
monochromatic
#030A1B #030A1B #081842 #0F2C79 #1540AF

Accessibility & contrast

On white

17.22
#081842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#081842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081842
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081842#FFFFFF#000000##FFFFFF
##0818421.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#00222A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #081842;
/* rgb */ color: rgb(8, 24, 66);
/* oklch */ color: oklch(22.7% 0.083 264.6);
Tailwind
colors: {
  custom: {
    50: '#535477',
    500: '#081842',
    950: '#000000',
  },
}
SCSS
$custom: #081842;
$custom-light: #535477;
$custom-dark: #000000;
JSON
{
  "hex": "#081842",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 223.448,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22652,
    "c": 0.0827,
    "h": 264.6
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#081842
secondary
#806725
accent
#BF33F5
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #081842

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

Preview Lab → · Contrast checker → · Palette generator →

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