#08074E#08074E

#08074E is a very dark, vivid blue. Relative luminance 0.008; OKLCH L 20.9% C 0.121 H 269.8°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#08074E
RGBrgb(8, 7, 78)
HSLhsl(241, 84%, 17%)
HSVhsv(241, 91%, 31%)
CMYKcmyk(89.7%, 91%, 0%, 69.4%)
CIE-LABlab(6.81, 28.51, -41.82)
CIE-LCHlch(6.81, 50.61, 304.29°)
OKLaboklab(20.87% -0.0004 -0.1214)
OKLCHoklch(20.87% 0.121 269.8)
XYZxyz(1.5508, 0.7535, 7.2699)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08074E #4D4E07
analogous
#072A4E #08074E #2C074E
triadic
#08074E #4E0807 #074E08
tetradic
#08074E #4E072A #4D4E07 #074E2C
square
#08074E #4E072A #4D4E07 #074E2C
split-complementary
#08074E #4E2C07 #2A4E07
monochromatic
#03031C #03031C #08074E #0E0C86 #1411BE

Accessibility & contrast

On white

18.25
#08074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#08074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08074E
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08074E#FFFFFF#000000##FFFFFF
##08074E1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001950
Deuteranopia (green-blind)
#00114D
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08074e;
/* rgb */ color: rgb(8, 7, 78);
/* oklch */ color: oklch(20.9% 0.121 269.8);
Tailwind
colors: {
  custom: {
    50: '#584981',
    500: '#08074e',
    950: '#000000',
  },
}
SCSS
$custom: #08074e;
$custom-light: #584981;
$custom-dark: #000000;
JSON
{
  "hex": "#08074e",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 240.845,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.20867,
    "c": 0.12137,
    "h": 269.8
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#08074E
secondary
#8B8C25
accent
#FA2EF7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #08074E

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

Preview Lab → · Contrast checker → · Palette generator →

#08074E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva