#08082D#08082D

#08082D is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.072 H 275.2°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#08082D
RGBrgb(8, 8, 45)
HSLhsl(240, 70%, 10%)
HSVhsv(240, 82%, 18%)
CMYKcmyk(82.2%, 82.2%, 0%, 82.4%)
CIE-LABlab(3.75, 10.91, -23.01)
CIE-LCHlch(3.75, 25.46, 295.37°)
OKLaboklab(16.69% 0.0066 -0.072)
OKLCHoklch(16.69% 0.072 275.2)
XYZxyz(0.6605, 0.4147, 2.5274)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08082D #2D2D08
analogous
#081A2D #08082D #1A082D
triadic
#08082D #2D0808 #082D08
tetradic
#08082D #2D081A #2D2D08 #082D1A
square
#08082D #2D081A #2D2D08 #082D1A
split-complementary
#08082D #2D1A08 #1A2D08
monochromatic
#05051A #05051A #08082D #111161 #1A1A95

Accessibility & contrast

On white

19.39
#08082D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08082D
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08082D#FFFFFF#000000##FFFFFF
##08082D1.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#000C2C
Tritanopia (blue-blind)
#001219
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #08082d;
/* rgb */ color: rgb(8, 8, 45);
/* oklch */ color: oklch(16.7% 0.072 275.2);
Tailwind
colors: {
  custom: {
    50: '#4c4a66',
    500: '#08082d',
    950: '#000000',
  },
}
SCSS
$custom: #08082d;
$custom-light: #4c4a66;
$custom-dark: #000000;
JSON
{
  "hex": "#08082d",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 45
  },
  "hsl": {
    "h": 240,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16693,
    "c": 0.07226,
    "h": 275.2
  },
  "luminance": 0.00415
}

Semantic roles & 50–950 ramp

primary
#08082D
secondary
#6C6C25
accent
#ED3BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #08082D

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

Preview Lab → · Contrast checker → · Palette generator →

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