#081145#081145

#081145 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.097 H 268.4°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#081145
RGBrgb(8, 17, 69)
HSLhsl(231, 79%, 15%)
HSVhsv(231, 88%, 27%)
CMYKcmyk(88.4%, 75.4%, 0%, 72.9%)
CIE-LABlab(7.97, 18.51, -33.61)
CIE-LCHlch(7.97, 38.37, 298.84°)
OKLaboklab(21.4% -0.0027 -0.0973)
OKLCHoklch(21.4% 0.097 268.4)
XYZxyz(1.3744, 0.8820, 5.7269)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081145 #453C08
analogous
#082F45 #081145 #1E0845
triadic
#081145 #450811 #114508
tetradic
#081145 #45082F #453C08 #08451E
square
#081145 #45082F #453C08 #08451E
split-complementary
#081145 #451E08 #2F4508
monochromatic
#03071B #03071B #081145 #0E1F7C #152CB3

Accessibility & contrast

On white

17.85
#081145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081145
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081145#FFFFFF#000000##FFFFFF
##0811451.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001544
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #081145;
/* rgb */ color: rgb(8, 17, 69);
/* oklch */ color: oklch(21.4% 0.097 268.4);
Tailwind
colors: {
  custom: {
    50: '#544e79',
    500: '#081145',
    950: '#000000',
  },
}
SCSS
$custom: #081145;
$custom-light: #544e79;
$custom-dark: #000000;
JSON
{
  "hex": "#081145",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 231.148,
    "s": 79.221,
    "l": 15.098
  },
  "oklch": {
    "l": 0.214,
    "c": 0.09737,
    "h": 268.4
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#081145
secondary
#837526
accent
#D932F6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #081145

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

Preview Lab → · Contrast checker → · Palette generator →

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