#081547#081547

#081547 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.095 H 266.8°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#081547
RGBrgb(8, 21, 71)
HSLhsl(228, 80%, 15%)
HSVhsv(228, 89%, 28%)
CMYKcmyk(88.7%, 70.4%, 0%, 72.2%)
CIE-LABlab(9.34, 16.33, -32.76)
CIE-LCHlch(9.34, 36.60, 296.49°)
OKLaboklab(22.48% -0.0053 -0.0948)
OKLCHoklch(22.48% 0.095 266.8)
XYZxyz(1.5052, 1.0427, 6.0819)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081547 #473A08
analogous
#083447 #081547 #1A0847
triadic
#081547 #470815 #154708
tetradic
#081547 #470834 #473A08 #08471A
square
#081547 #470834 #473A08 #08471A
split-complementary
#081547 #471A08 #344708
monochromatic
#03081C #03081C #081547 #0E257E #1436B5

Accessibility & contrast

On white

17.38
#081547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081547
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081547#FFFFFF#000000##FFFFFF
##0815471.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001746
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #081547;
/* rgb */ color: rgb(8, 21, 71);
/* oklch */ color: oklch(22.5% 0.095 266.8);
Tailwind
colors: {
  custom: {
    50: '#54527b',
    500: '#081547',
    950: '#000000',
  },
}
SCSS
$custom: #081547;
$custom-light: #54527b;
$custom-dark: #000000;
JSON
{
  "hex": "#081547",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 227.619,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22476,
    "c": 0.09495,
    "h": 266.8
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#081547
secondary
#857126
accent
#CE32F6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#030209
muted
#78787B

Preview Lab

Preview with #081547

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

Preview Lab → · Contrast checker → · Palette generator →

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