#08032B#08032B

#08032B is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.1% C 0.078 H 279.3°. Best body text is #FFFFFF at 19.85:1 contrast (WCAG AA passes).

Color values

HEX#08032B
RGBrgb(8, 3, 43)
HSLhsl(248, 87%, 9%)
HSVhsv(248, 93%, 17%)
CMYKcmyk(81.4%, 93%, 0%, 83.1%)
CIE-LABlab(2.63, 11.96, -23.26)
CIE-LCHlch(2.63, 26.15, 297.21°)
OKLaboklab(15.15% 0.0127 -0.0774)
OKLCHoklch(15.15% 0.078 279.3)
XYZxyz(0.5686, 0.2911, 2.3113)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08032B #262B03
analogous
#03122B #08032B #1C032B
triadic
#08032B #2B0803 #032B08
tetradic
#08032B #2B0312 #262B03 #032B1C
square
#08032B #2B0312 #262B03 #032B1C
split-complementary
#08032B #2B1C03 #122B03
monochromatic
#05021D #05021D #08032B #130764 #1D0B9D

Accessibility & contrast

On white

19.85
#08032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08032B
19.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08032B#FFFFFF#000000##FFFFFF
##08032B1.0019.851.0619.85
#FFFFFF19.851.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2C
Deuteranopia (green-blind)
#00082A
Tritanopia (blue-blind)
#000E16
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #08032b;
/* rgb */ color: rgb(8, 3, 43);
/* oklch */ color: oklch(15.1% 0.078 279.3);
Tailwind
colors: {
  custom: {
    50: '#4b4864',
    500: '#08032b',
    950: '#000000',
  },
}
SCSS
$custom: #08032b;
$custom-light: #4b4864;
$custom-dark: #000000;
JSON
{
  "hex": "#08032b",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 247.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15147,
    "c": 0.07848,
    "h": 279.3
  },
  "luminance": 0.00291
}

Semantic roles & 50–950 ramp

primary
#08032B
secondary
#646F1B
accent
#FD2BE3
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #08032B

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

Preview Lab → · Contrast checker → · Palette generator →

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