#08082E#08082E

#08082E is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.8% C 0.074 H 275.0°. Best body text is #FFFFFF at 19.36:1 contrast (WCAG AA passes).

Color values

HEX#08082E
RGBrgb(8, 8, 46)
HSLhsl(240, 70%, 11%)
HSVhsv(240, 83%, 18%)
CMYKcmyk(82.6%, 82.6%, 0%, 82%)
CIE-LABlab(3.82, 11.41, -23.65)
CIE-LCHlch(3.82, 26.25, 295.75°)
OKLaboklab(16.81% 0.0064 -0.0736)
OKLCHoklch(16.81% 0.074 275)
XYZxyz(0.6800, 0.4225, 2.6300)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08082E #2E2E08
analogous
#081B2E #08082E #1B082E
triadic
#08082E #2E0808 #082E08
tetradic
#08082E #2E081B #2E2E08 #082E1B
square
#08082E #2E081B #2E2E08 #082E1B
split-complementary
#08082E #2E1B08 #1B2E08
monochromatic
#05051A #05051A #08082E #111162 #1A1A96

Accessibility & contrast

On white

19.36
#08082E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08082E
19.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08082E#FFFFFF#000000##FFFFFF
##08082E1.0019.361.0819.36
#FFFFFF19.361.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#000C2D
Tritanopia (blue-blind)
#001219
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #08082e;
/* rgb */ color: rgb(8, 8, 46);
/* oklch */ color: oklch(16.8% 0.074 275.0);
Tailwind
colors: {
  custom: {
    50: '#4c4a67',
    500: '#08082e',
    950: '#000000',
  },
}
SCSS
$custom: #08082e;
$custom-light: #4c4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#08082e",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 46
  },
  "hsl": {
    "h": 240,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.16813,
    "c": 0.07388,
    "h": 275
  },
  "luminance": 0.00423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #08082E

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

Preview Lab → · Contrast checker → · Palette generator →

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