#081537#081537

#081537 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 20.8% C 0.069 H 265.0°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#081537
RGBrgb(8, 21, 55)
HSLhsl(223, 75%, 12%)
HSVhsv(223, 85%, 22%)
CMYKcmyk(85.5%, 61.8%, 0%, 78.4%)
CIE-LABlab(7.80, 9.04, -23.89)
CIE-LCHlch(7.80, 25.54, 290.72°)
OKLaboklab(20.84% -0.006 -0.0688)
OKLCHoklch(20.84% 0.069 265)
XYZxyz(1.0577, 0.8637, 3.7247)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081537 #372A08
analogous
#082D37 #081537 #120837
triadic
#081537 #370815 #153708
tetradic
#081537 #37082D #372A08 #083712
square
#081537 #37082D #372A08 #083712
split-complementary
#081537 #371208 #2D3708
monochromatic
#040A1B #040A1B #081537 #10296C #183EA2

Accessibility & contrast

On white

17.91
#081537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081537
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081537#FFFFFF#000000##FFFFFF
##0815371.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011938
Deuteranopia (green-blind)
#001536
Tritanopia (blue-blind)
#001D23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #081537;
/* rgb */ color: rgb(8, 21, 55);
/* oklch */ color: oklch(20.8% 0.069 265.0);
Tailwind
colors: {
  custom: {
    50: '#4f516e',
    500: '#081537',
    950: '#000000',
  },
}
SCSS
$custom: #081537;
$custom-light: #4f516e;
$custom-dark: #000000;
JSON
{
  "hex": "#081537",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 223.404,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20841,
    "c": 0.06902,
    "h": 265
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#081537
secondary
#765F25
accent
#BE37F1
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020207
muted
#78787A

Preview Lab

Preview with #081537

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

Preview Lab → · Contrast checker → · Palette generator →

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