#081538#081538

#081538 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.9% C 0.071 H 265.2°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#081538
RGBrgb(8, 21, 56)
HSLhsl(224, 75%, 13%)
HSVhsv(224, 86%, 22%)
CMYKcmyk(85.7%, 62.5%, 0%, 78%)
CIE-LABlab(7.89, 9.50, -24.47)
CIE-LCHlch(7.89, 26.25, 291.23°)
OKLaboklab(20.94% -0.0059 -0.0705)
OKLCHoklch(20.94% 0.071 265.2)
XYZxyz(1.0819, 0.8734, 3.8522)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081538 #382B08
analogous
#082D38 #081538 #130838
triadic
#081538 #380815 #153808
tetradic
#081538 #38082D #382B08 #083813
square
#081538 #38082D #382B08 #083813
split-complementary
#081538 #381308 #2D3808
monochromatic
#040A1B #040A1B #081538 #10296E #173DA3

Accessibility & contrast

On white

17.88
#081538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#081538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081538
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081538#FFFFFF#000000##FFFFFF
##0815381.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A39
Deuteranopia (green-blind)
#001537
Tritanopia (blue-blind)
#001D23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #081538;
/* rgb */ color: rgb(8, 21, 56);
/* oklch */ color: oklch(20.9% 0.071 265.2);
Tailwind
colors: {
  custom: {
    50: '#50516f',
    500: '#081538',
    950: '#000000',
  },
}
SCSS
$custom: #081538;
$custom-light: #50516f;
$custom-dark: #000000;
JSON
{
  "hex": "#081538",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 223.75,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20936,
    "c": 0.07071,
    "h": 265.2
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#081538
secondary
#776125
accent
#BF36F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081538

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

Preview Lab → · Contrast checker → · Palette generator →

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