#08082C#08082C

#08082C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.6% C 0.071 H 275.5°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#08082C
RGBrgb(8, 8, 44)
HSLhsl(240, 69%, 10%)
HSVhsv(240, 82%, 17%)
CMYKcmyk(81.8%, 81.8%, 0%, 82.7%)
CIE-LABlab(3.68, 10.42, -22.36)
CIE-LCHlch(3.68, 24.67, 294.99°)
OKLaboklab(16.58% 0.0067 -0.0703)
OKLCHoklch(16.58% 0.071 275.5)
XYZxyz(0.6414, 0.4071, 2.4272)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08082C #2C2C08
analogous
#081A2C #08082C #1A082C
triadic
#08082C #2C0808 #082C08
tetradic
#08082C #2C081A #2C2C08 #082C1A
square
#08082C #2C081A #2C2C08 #082C1A
split-complementary
#08082C #2C1A08 #1A2C08
monochromatic
#05051A #05051A #08082C #111160 #1B1B94

Accessibility & contrast

On white

19.42
#08082C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08082C
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08082C#FFFFFF#000000##FFFFFF
##08082C1.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08082c;
/* rgb */ color: rgb(8, 8, 44);
/* oklch */ color: oklch(16.6% 0.071 275.5);
Tailwind
colors: {
  custom: {
    50: '#4b4a65',
    500: '#08082c',
    950: '#000000',
  },
}
SCSS
$custom: #08082c;
$custom-light: #4b4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#08082c",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 44
  },
  "hsl": {
    "h": 240,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16575,
    "c": 0.07062,
    "h": 275.5
  },
  "luminance": 0.00407
}

Semantic roles & 50–950 ramp

primary
#08082C
secondary
#6B6B25
accent
#EC3CEC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #08082C

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

Preview Lab → · Contrast checker → · Palette generator →

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