#081128#081128

#081128 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.4% C 0.049 H 265.6°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#081128
RGBrgb(8, 17, 40)
HSLhsl(223, 67%, 9%)
HSVhsv(223, 80%, 16%)
CMYKcmyk(80%, 57.5%, 0%, 84.3%)
CIE-LABlab(5.47, 4.42, -16.51)
CIE-LCHlch(5.47, 17.09, 284.97°)
OKLaboklab(18.42% -0.0038 -0.0488)
OKLCHoklch(18.42% 0.049 265.6)
XYZxyz(0.6835, 0.6057, 2.0880)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081128 #281F08
analogous
#082128 #081128 #0F0828
triadic
#081128 #280811 #112808
tetradic
#081128 #280821 #281F08 #08280F
square
#081128 #280821 #281F08 #08280F
split-complementary
#081128 #280F08 #212808
monochromatic
#050B1A #050B1A #081128 #12275B #1C3C8E

Accessibility & contrast

On white

18.73
#081128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#081128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081128
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081128#FFFFFF#000000##FFFFFF
##0811281.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061429
Deuteranopia (green-blind)
#031128
Tritanopia (blue-blind)
#00161A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #081128;
/* rgb */ color: rgb(8, 17, 40);
/* oklch */ color: oklch(18.4% 0.049 265.6);
Tailwind
colors: {
  custom: {
    50: '#4b4f62',
    500: '#081128',
    950: '#000000',
  },
}
SCSS
$custom: #081128;
$custom-light: #4b4f62;
$custom-dark: #000000;
JSON
{
  "hex": "#081128",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 223.125,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18415,
    "c": 0.04894,
    "h": 265.6
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#081128
secondary
#675425
accent
#B93EEA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #081128

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

Preview Lab → · Contrast checker → · Palette generator →

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