#08082B#08082B

#08082B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.5% C 0.069 H 275.7°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#08082B
RGBrgb(8, 8, 43)
HSLhsl(240, 69%, 10%)
HSVhsv(240, 81%, 17%)
CMYKcmyk(81.4%, 81.4%, 0%, 83.1%)
CIE-LABlab(3.61, 9.95, -21.71)
CIE-LCHlch(3.61, 23.88, 294.63°)
OKLaboklab(16.46% 0.0069 -0.0686)
OKLCHoklch(16.46% 0.069 275.7)
XYZxyz(0.6229, 0.3997, 2.3293)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08082B #2B2B08
analogous
#08192B #08082B #19082B
triadic
#08082B #2B0808 #082B08
tetradic
#08082B #2B081A #2B2B08 #082B1A
square
#08082B #2B081A #2B2B08 #082B1A
split-complementary
#08082B #2B1A08 #1A2B08
monochromatic
#05051A #05051A #08082B #12125F #1B1B92

Accessibility & contrast

On white

19.44
#08082B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08082B
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08082B#FFFFFF#000000##FFFFFF
##08082B1.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#000B2A
Tritanopia (blue-blind)
#001118
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #08082b;
/* rgb */ color: rgb(8, 8, 43);
/* oklch */ color: oklch(16.5% 0.069 275.7);
Tailwind
colors: {
  custom: {
    50: '#4b4a64',
    500: '#08082b',
    950: '#000000',
  },
}
SCSS
$custom: #08082b;
$custom-light: #4b4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#08082b",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 43
  },
  "hsl": {
    "h": 240,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.16458,
    "c": 0.06897,
    "h": 275.7
  },
  "luminance": 0.004
}

Semantic roles & 50–950 ramp

primary
#08082B
secondary
#6A6A25
accent
#EB3CEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #08082B

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

Preview Lab → · Contrast checker → · Palette generator →

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