#08073F#08073F

#08073F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.8% C 0.101 H 271.9°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#08073F
RGBrgb(8, 7, 63)
HSLhsl(241, 80%, 14%)
HSVhsv(241, 89%, 25%)
CMYKcmyk(87.3%, 88.9%, 0%, 75.3%)
CIE-LABlab(5.08, 21.31, -34.08)
CIE-LCHlch(5.08, 40.19, 302.01°)
OKLaboklab(18.79% 0.0034 -0.1009)
OKLCHoklch(18.79% 0.101 271.9)
XYZxyz(1.0730, 0.5623, 4.7537)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08073F #3E3F07
analogous
#07223F #08073F #24073F
triadic
#08073F #3F0807 #073F08
tetradic
#08073F #3F0722 #3E3F07 #073F24
square
#08073F #3F0722 #3E3F07 #073F24
split-complementary
#08073F #3F2407 #223F07
monochromatic
#03031C #03031C #08073F #0F0D76 #1613AD

Accessibility & contrast

On white

18.88
#08073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#08073F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08073F
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08073F#FFFFFF#000000##FFFFFF
##08073F1.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#000E3E
Tritanopia (blue-blind)
#001823
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #08073f;
/* rgb */ color: rgb(8, 7, 63);
/* oklch */ color: oklch(18.8% 0.101 271.9);
Tailwind
colors: {
  custom: {
    50: '#534875',
    500: '#08073f',
    950: '#000000',
  },
}
SCSS
$custom: #08073f;
$custom-light: #534875;
$custom-dark: #000000;
JSON
{
  "hex": "#08073f",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 241.071,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.1879,
    "c": 0.10096,
    "h": 271.9
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#08073F
secondary
#7D7E24
accent
#F631F3
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #08073F

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

Preview Lab → · Contrast checker → · Palette generator →

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