#081535#081535

#081535 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.066 H 264.5°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#081535
RGBrgb(8, 21, 53)
HSLhsl(223, 74%, 12%)
HSVhsv(223, 85%, 21%)
CMYKcmyk(84.9%, 60.4%, 0%, 79.2%)
CIE-LABlab(7.63, 8.09, -22.71)
CIE-LCHlch(7.63, 24.11, 289.61°)
OKLaboklab(20.65% -0.0063 -0.0653)
OKLCHoklch(20.65% 0.066 264.5)
XYZxyz(1.0107, 0.8449, 3.4773)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081535 #352808
analogous
#082C35 #081535 #120835
triadic
#081535 #350815 #153508
tetradic
#081535 #35082C #352808 #083512
square
#081535 #35082C #352808 #083512
split-complementary
#081535 #351208 #2C3508
monochromatic
#040B1B #040B1B #081535 #102A6A #183F9F

Accessibility & contrast

On white

17.96
#081535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081535
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081535#FFFFFF#000000##FFFFFF
##0815351.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#001534
Tritanopia (blue-blind)
#001D22
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #081535;
/* rgb */ color: rgb(8, 21, 53);
/* oklch */ color: oklch(20.7% 0.066 264.5);
Tailwind
colors: {
  custom: {
    50: '#4f516c',
    500: '#081535',
    950: '#000000',
  },
}
SCSS
$custom: #081535;
$custom-light: #4f516c;
$custom-dark: #000000;
JSON
{
  "hex": "#081535",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 222.667,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20653,
    "c": 0.06561,
    "h": 264.5
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#081535
secondary
#745D25
accent
#BB37F0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #081535

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

Preview Lab → · Contrast checker → · Palette generator →

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