#08082A#08082A

#08082A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.067 H 276.0°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#08082A
RGBrgb(8, 8, 42)
HSLhsl(240, 68%, 10%)
HSVhsv(240, 81%, 16%)
CMYKcmyk(81%, 81%, 0%, 83.5%)
CIE-LABlab(3.54, 9.50, -21.05)
CIE-LCHlch(3.54, 23.10, 294.28°)
OKLaboklab(16.34% 0.007 -0.0669)
OKLCHoklch(16.34% 0.067 276)
XYZxyz(0.6048, 0.3924, 2.2339)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08082A #2A2A08
analogous
#08192A #08082A #19082A
triadic
#08082A #2A0808 #082A08
tetradic
#08082A #2A0819 #2A2A08 #082A19
square
#08082A #2A0819 #2A2A08 #082A19
split-complementary
#08082A #2A1908 #192A08
monochromatic
#05051A #05051A #08082A #12125D #1C1C91

Accessibility & contrast

On white

19.47
#08082A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#08082A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08082A
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08082A#FFFFFF#000000##FFFFFF
##08082A1.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2B
Deuteranopia (green-blind)
#000B29
Tritanopia (blue-blind)
#001117
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #08082a;
/* rgb */ color: rgb(8, 8, 42);
/* oklch */ color: oklch(16.3% 0.067 276.0);
Tailwind
colors: {
  custom: {
    50: '#4b4a64',
    500: '#08082a',
    950: '#000000',
  },
}
SCSS
$custom: #08082a;
$custom-light: #4b4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#08082a",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 42
  },
  "hsl": {
    "h": 240,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16342,
    "c": 0.0673,
    "h": 276
  },
  "luminance": 0.00392
}

Semantic roles & 50–950 ramp

primary
#08082A
secondary
#696925
accent
#EB3DEB
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #08082A

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

Preview Lab → · Contrast checker → · Palette generator →

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