#08072C#08072C

#08072C is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.3% C 0.072 H 276.2°. Best body text is #FFFFFF at 19.50:1 contrast (WCAG AA passes).

Color values

HEX#08072C
RGBrgb(8, 7, 44)
HSLhsl(242, 73%, 10%)
HSVhsv(242, 84%, 17%)
CMYKcmyk(81.8%, 84.1%, 0%, 82.7%)
CIE-LABlab(3.48, 10.83, -22.67)
CIE-LCHlch(3.48, 25.12, 295.53°)
OKLaboklab(16.33% 0.0078 -0.0719)
OKLCHoklch(16.33% 0.072 276.2)
XYZxyz(0.6306, 0.3854, 2.4235)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08072C #2B2C07
analogous
#07182C #08072C #1B072C
triadic
#08072C #2C0807 #072C08
tetradic
#08072C #2C0718 #2B2C07 #072C1B
square
#08072C #2C0718 #2B2C07 #072C1B
split-complementary
#08072C #2C1B07 #182C07
monochromatic
#05041A #05041A #08072C #120F61 #1B1896

Accessibility & contrast

On white

19.50
#08072C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08072C
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08072C#FFFFFF#000000##FFFFFF
##08072C1.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08072c;
/* rgb */ color: rgb(8, 7, 44);
/* oklch */ color: oklch(16.3% 0.072 276.2);
Tailwind
colors: {
  custom: {
    50: '#4b4965',
    500: '#08072c',
    950: '#000000',
  },
}
SCSS
$custom: #08072c;
$custom-light: #4b4965;
$custom-dark: #000000;
JSON
{
  "hex": "#08072c",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 241.622,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.16333,
    "c": 0.07233,
    "h": 276.2
  },
  "luminance": 0.00385
}

Semantic roles & 50–950 ramp

primary
#08072C
secondary
#6A6C23
accent
#EF39EA
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010105
muted
#77777A

Preview Lab

Preview with #08072C

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

Preview Lab → · Contrast checker → · Palette generator →

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