#081742#081742

#081742 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.4% C 0.084 H 265.3°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#081742
RGBrgb(8, 23, 66)
HSLhsl(224, 78%, 15%)
HSVhsv(224, 88%, 26%)
CMYKcmyk(87.9%, 65.2%, 0%, 74.1%)
CIE-LABlab(9.46, 12.51, -29.05)
CIE-LCHlch(9.46, 31.63, 293.30°)
OKLaboklab(22.41% -0.0069 -0.0839)
OKLCHoklch(22.41% 0.084 265.3)
XYZxyz(1.3896, 1.0576, 5.2841)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081742 #423308
analogous
#083442 #081742 #160842
triadic
#081742 #420817 #174208
tetradic
#081742 #420834 #423308 #084216
square
#081742 #420834 #423308 #084216
split-complementary
#081742 #421608 #344208
monochromatic
#030A1B #030A1B #081742 #0F2A79 #153DAF

Accessibility & contrast

On white

17.33
#081742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#081742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081742
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081742#FFFFFF#000000##FFFFFF
##0817421.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#001841
Tritanopia (blue-blind)
#002229
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081742;
/* rgb */ color: rgb(8, 23, 66);
/* oklch */ color: oklch(22.4% 0.084 265.3);
Tailwind
colors: {
  custom: {
    50: '#535377',
    500: '#081742',
    950: '#000000',
  },
}
SCSS
$custom: #081742;
$custom-light: #535377;
$custom-dark: #000000;
JSON
{
  "hex": "#081742",
  "rgb": {
    "r": 8,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 224.483,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22411,
    "c": 0.08417,
    "h": 265.3
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#081742
secondary
#806925
accent
#C333F5
background
#F5F4F7
surface
#E8E7ED
border
#C4C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #081742

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

Preview Lab → · Contrast checker → · Palette generator →

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