#08032C#08032C

#08032C is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.3% C 0.080 H 278.9°. Best body text is #FFFFFF at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#08032C
RGBrgb(8, 3, 44)
HSLhsl(247, 87%, 9%)
HSVhsv(247, 93%, 17%)
CMYKcmyk(81.8%, 93.2%, 0%, 82.7%)
CIE-LABlab(2.70, 12.43, -23.91)
CIE-LCHlch(2.70, 26.95, 297.47°)
OKLaboklab(15.29% 0.0124 -0.079)
OKLCHoklch(15.29% 0.08 278.9)
XYZxyz(0.5872, 0.2985, 2.4091)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08032C #272C03
analogous
#03132C #08032C #1D032C
triadic
#08032C #2C0803 #032C08
tetradic
#08032C #2C0313 #272C03 #032C1D
square
#08032C #2C0313 #272C03 #032C1D
split-complementary
#08032C #2C1D03 #132C03
monochromatic
#05021D #05021D #08032C #120765 #1D0B9F

Accessibility & contrast

On white

19.82
#08032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08032C
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08032C#FFFFFF#000000##FFFFFF
##08032C1.0019.821.0619.82
#FFFFFF19.821.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2D
Deuteranopia (green-blind)
#00082B
Tritanopia (blue-blind)
#000E17
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #08032c;
/* rgb */ color: rgb(8, 3, 44);
/* oklch */ color: oklch(15.3% 0.080 278.9);
Tailwind
colors: {
  custom: {
    50: '#4b4865',
    500: '#08032c',
    950: '#000000',
  },
}
SCSS
$custom: #08032c;
$custom-light: #4b4865;
$custom-dark: #000000;
JSON
{
  "hex": "#08032c",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 247.317,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15285,
    "c": 0.07994,
    "h": 278.9
  },
  "luminance": 0.00299
}

Semantic roles & 50–950 ramp

primary
#08032C
secondary
#65701B
accent
#FD2AE4
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #08032C

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

Preview Lab → · Contrast checker → · Palette generator →

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