#081539#081539

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

Color values

HEX#081539
RGBrgb(8, 21, 57)
HSLhsl(224, 75%, 13%)
HSVhsv(224, 86%, 22%)
CMYKcmyk(86%, 63.2%, 0%, 77.6%)
CIE-LABlab(7.98, 9.97, -25.05)
CIE-LCHlch(7.98, 26.96, 291.71°)
OKLaboklab(21.03% -0.0058 -0.0722)
OKLCHoklch(21.03% 0.072 265.4)
XYZxyz(1.1066, 0.8832, 3.9823)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081539 #392C08
analogous
#082D39 #081539 #140839
triadic
#081539 #390815 #153908
tetradic
#081539 #39082D #392C08 #083914
square
#081539 #39082D #392C08 #083914
split-complementary
#081539 #391408 #2D3908
monochromatic
#040A1B #040A1B #081539 #10296F #173DA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##081539#FFFFFF#000000##FFFFFF
##0815391.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)
#001A3A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#001E24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #081539;
/* rgb */ color: rgb(8, 21, 57);
/* oklch */ color: oklch(21.0% 0.072 265.4);
Tailwind
colors: {
  custom: {
    50: '#505170',
    500: '#081539',
    950: '#000000',
  },
}
SCSS
$custom: #081539;
$custom-light: #505170;
$custom-dark: #000000;
JSON
{
  "hex": "#081539",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 57
  },
  "hsl": {
    "h": 224.082,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21032,
    "c": 0.07239,
    "h": 265.4
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#081539
secondary
#786225
accent
#C036F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081539

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

Preview Lab → · Contrast checker → · Palette generator →

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