#081142#081142

#081142 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.1% C 0.093 H 268.5°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#081142
RGBrgb(8, 17, 66)
HSLhsl(231, 78%, 15%)
HSVhsv(231, 88%, 26%)
CMYKcmyk(87.9%, 74.2%, 0%, 74.1%)
CIE-LABlab(7.64, 17.18, -32.03)
CIE-LCHlch(7.64, 36.35, 298.20°)
OKLaboklab(21.06% -0.0025 -0.0927)
OKLCHoklch(21.06% 0.093 268.5)
XYZxyz(1.2836, 0.8457, 5.2488)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081142 #423908
analogous
#082E42 #081142 #1C0842
triadic
#081142 #420811 #114208
tetradic
#081142 #42082E #423908 #08421C
square
#081142 #42082E #423908 #08421C
split-complementary
#081142 #421C08 #2E4208
monochromatic
#03071B #03071B #081142 #0F1F79 #152DAF

Accessibility & contrast

On white

17.96
#081142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#081142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081142
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081142#FFFFFF#000000##FFFFFF
##0811421.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001441
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #081142;
/* rgb */ color: rgb(8, 17, 66);
/* oklch */ color: oklch(21.1% 0.093 268.5);
Tailwind
colors: {
  custom: {
    50: '#534e77',
    500: '#081142',
    950: '#000000',
  },
}
SCSS
$custom: #081142;
$custom-light: #534e77;
$custom-dark: #000000;
JSON
{
  "hex": "#081142",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 230.69,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21055,
    "c": 0.09277,
    "h": 268.5
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#081142
secondary
#807225
accent
#D733F5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #081142

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

Preview Lab → · Contrast checker → · Palette generator →

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