#081146#081146

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

Color values

HEX#081146
RGBrgb(8, 17, 70)
HSLhsl(231, 79%, 15%)
HSVhsv(231, 89%, 27%)
CMYKcmyk(88.6%, 75.7%, 0%, 72.5%)
CIE-LABlab(8.08, 18.94, -34.13)
CIE-LCHlch(8.08, 39.03, 299.02°)
OKLaboklab(21.52% -0.0028 -0.0988)
OKLCHoklch(21.52% 0.099 268.4)
XYZxyz(1.4057, 0.8946, 5.8917)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081146 #463D08
analogous
#083046 #081146 #1E0846
triadic
#081146 #460811 #114608
tetradic
#081146 #460830 #463D08 #08461E
square
#081146 #460830 #463D08 #08461E
split-complementary
#081146 #461E08 #304608
monochromatic
#03071B #03071B #081146 #0E1E7D #152CB4

Accessibility & contrast

On white

17.81
#081146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081146
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081146#FFFFFF#000000##FFFFFF
##0811461.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#001F29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #081146;
/* rgb */ color: rgb(8, 17, 70);
/* oklch */ color: oklch(21.5% 0.099 268.4);
Tailwind
colors: {
  custom: {
    50: '#554e7a',
    500: '#081146',
    950: '#000000',
  },
}
SCSS
$custom: #081146;
$custom-light: #554e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#081146",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 231.29,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21517,
    "c": 0.09888,
    "h": 268.4
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #081146

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

Preview Lab → · Contrast checker → · Palette generator →

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