#08082F#08082F

#08082F is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.9% C 0.075 H 274.8°. Best body text is #FFFFFF at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#08082F
RGBrgb(8, 8, 47)
HSLhsl(240, 71%, 11%)
HSVhsv(240, 83%, 18%)
CMYKcmyk(83%, 83%, 0%, 81.6%)
CIE-LABlab(3.89, 11.91, -24.28)
CIE-LCHlch(3.89, 27.05, 296.13°)
OKLaboklab(16.93% 0.0063 -0.0752)
OKLCHoklch(16.93% 0.075 274.8)
XYZxyz(0.6999, 0.4305, 2.7350)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08082F #2F2F08
analogous
#081B2F #08082F #1B082F
triadic
#08082F #2F0808 #082F08
tetradic
#08082F #2F081B #2F2F08 #082F1B
square
#08082F #2F081B #2F2F08 #082F1B
split-complementary
#08082F #2F1B08 #1B2F08
monochromatic
#04041A #04041A #08082F #111163 #1A1A98

Accessibility & contrast

On white

19.33
#08082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#08082F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08082F
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08082F#FFFFFF#000000##FFFFFF
##08082F1.0019.331.0919.33
#FFFFFF19.331.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#000C2E
Tritanopia (blue-blind)
#00121A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #08082f;
/* rgb */ color: rgb(8, 8, 47);
/* oklch */ color: oklch(16.9% 0.075 274.8);
Tailwind
colors: {
  custom: {
    50: '#4c4a68',
    500: '#08082f',
    950: '#000000',
  },
}
SCSS
$custom: #08082f;
$custom-light: #4c4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#08082f",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 240,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16933,
    "c": 0.07549,
    "h": 274.8
  },
  "luminance": 0.00431
}

Semantic roles & 50–950 ramp

primary
#08082F
secondary
#6E6E25
accent
#EE3AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #08082F

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

Preview Lab → · Contrast checker → · Palette generator →

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