#08032A#08032A

#08032A is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.0% C 0.077 H 279.8°. Best body text is #FFFFFF at 19.87:1 contrast (WCAG AA passes).

Color values

HEX#08032A
RGBrgb(8, 3, 42)
HSLhsl(248, 87%, 9%)
HSVhsv(248, 93%, 16%)
CMYKcmyk(81%, 92.9%, 0%, 83.5%)
CIE-LABlab(2.56, 11.50, -22.60)
CIE-LCHlch(2.56, 25.35, 296.97°)
OKLaboklab(15.01% 0.0131 -0.0759)
OKLCHoklch(15.01% 0.077 279.8)
XYZxyz(0.5505, 0.2839, 2.2158)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08032A #252A03
analogous
#03122A #08032A #1C032A
triadic
#08032A #2A0803 #032A08
tetradic
#08032A #2A0312 #252A03 #032A1C
square
#08032A #2A0312 #252A03 #032A1C
split-complementary
#08032A #2A1C03 #122A03
monochromatic
#05021D #05021D #08032A #130763 #1E0B9C

Accessibility & contrast

On white

19.87
#08032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#08032A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08032A
19.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08032A#FFFFFF#000000##FFFFFF
##08032A1.0019.871.0619.87
#FFFFFF19.871.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2B
Deuteranopia (green-blind)
#000829
Tritanopia (blue-blind)
#000D15
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #08032a;
/* rgb */ color: rgb(8, 3, 42);
/* oklch */ color: oklch(15.0% 0.077 279.8);
Tailwind
colors: {
  custom: {
    50: '#4b4864',
    500: '#08032a',
    950: '#000000',
  },
}
SCSS
$custom: #08032a;
$custom-light: #4b4864;
$custom-dark: #000000;
JSON
{
  "hex": "#08032a",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 247.692,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1501,
    "c": 0.07701,
    "h": 279.8
  },
  "luminance": 0.00284
}

Semantic roles & 50–950 ramp

primary
#08032A
secondary
#636E1B
accent
#FD2BE2
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #08032A

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

Preview Lab → · Contrast checker → · Palette generator →

#08032A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva