#08072B#08072B

#08072B is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.2% C 0.071 H 276.5°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#08072B
RGBrgb(8, 7, 43)
HSLhsl(242, 72%, 10%)
HSVhsv(242, 84%, 17%)
CMYKcmyk(81.4%, 83.7%, 0%, 83.1%)
CIE-LABlab(3.41, 10.36, -22.02)
CIE-LCHlch(3.41, 24.33, 295.19°)
OKLaboklab(16.21% 0.008 -0.0703)
OKLCHoklch(16.21% 0.071 276.5)
XYZxyz(0.6120, 0.3779, 2.3257)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08072B #2A2B07
analogous
#07182B #08072B #1A072B
triadic
#08072B #2B0807 #072B08
tetradic
#08072B #2B0718 #2A2B07 #072B1A
square
#08072B #2B0718 #2A2B07 #072B1A
split-complementary
#08072B #2B1A07 #182B07
monochromatic
#05041A #05041A #08072B #121060 #1C1894

Accessibility & contrast

On white

19.52
#08072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#08072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08072B
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08072B#FFFFFF#000000##FFFFFF
##08072B1.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08072b;
/* rgb */ color: rgb(8, 7, 43);
/* oklch */ color: oklch(16.2% 0.071 276.5);
Tailwind
colors: {
  custom: {
    50: '#4b4a64',
    500: '#08072b',
    950: '#000000',
  },
}
SCSS
$custom: #08072b;
$custom-light: #4b4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#08072b",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 241.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16213,
    "c": 0.07071,
    "h": 276.5
  },
  "luminance": 0.00378
}

Semantic roles & 50–950 ramp

primary
#08072B
secondary
#696B23
accent
#EF39EA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #08072B

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

Preview Lab → · Contrast checker → · Palette generator →

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