#08072A#08072A

#08072A is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.1% C 0.069 H 276.8°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#08072A
RGBrgb(8, 7, 42)
HSLhsl(242, 71%, 10%)
HSVhsv(242, 83%, 16%)
CMYKcmyk(81%, 83.3%, 0%, 83.5%)
CIE-LABlab(3.35, 9.90, -21.36)
CIE-LCHlch(3.35, 23.54, 294.85°)
OKLaboklab(16.09% 0.0081 -0.0686)
OKLCHoklch(16.09% 0.069 276.8)
XYZxyz(0.5939, 0.3707, 2.2303)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08072A #292A07
analogous
#07182A #08072A #1A072A
triadic
#08072A #2A0807 #072A08
tetradic
#08072A #2A0718 #292A07 #072A1A
square
#08072A #2A0718 #292A07 #072A1A
split-complementary
#08072A #2A1A07 #182A07
monochromatic
#05041A #05041A #08072A #12105E #1C1893

Accessibility & contrast

On white

19.55
#08072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#08072A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08072A
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08072A#FFFFFF#000000##FFFFFF
##08072A1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2B
Deuteranopia (green-blind)
#000B29
Tritanopia (blue-blind)
#001017
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #08072a;
/* rgb */ color: rgb(8, 7, 42);
/* oklch */ color: oklch(16.1% 0.069 276.8);
Tailwind
colors: {
  custom: {
    50: '#4b4a64',
    500: '#08072a',
    950: '#000000',
  },
}
SCSS
$custom: #08072a;
$custom-light: #4b4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#08072a",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 241.714,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16093,
    "c": 0.06907,
    "h": 276.8
  },
  "luminance": 0.00371
}

Semantic roles & 50–950 ramp

primary
#08072A
secondary
#686A23
accent
#EE3AE9
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010105
muted
#777779

Preview Lab

Preview with #08072A

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

Preview Lab → · Contrast checker → · Palette generator →

#08072A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva