#08073E#08073E

#08073E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.100 H 272.1°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#08073E
RGBrgb(8, 7, 62)
HSLhsl(241, 80%, 14%)
HSVhsv(241, 89%, 24%)
CMYKcmyk(87.1%, 88.7%, 0%, 75.7%)
CIE-LABlab(4.98, 20.76, -33.52)
CIE-LCHlch(4.98, 39.43, 301.77°)
OKLaboklab(18.66% 0.0037 -0.0995)
OKLCHoklch(18.66% 0.1 272.1)
XYZxyz(1.0453, 0.5513, 4.6078)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08073E #3D3E07
analogous
#07213E #08073E #23073E
triadic
#08073E #3E0807 #073E08
tetradic
#08073E #3E0721 #3D3E07 #073E23
square
#08073E #3E0721 #3D3E07 #073E23
split-complementary
#08073E #3E2307 #213E07
monochromatic
#04031B #04031B #08073E #0F0D75 #1613AC

Accessibility & contrast

On white

18.92
#08073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08073E
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08073E#FFFFFF#000000##FFFFFF
##08073E1.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001340
Deuteranopia (green-blind)
#000E3D
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #08073e;
/* rgb */ color: rgb(8, 7, 62);
/* oklch */ color: oklch(18.7% 0.100 272.1);
Tailwind
colors: {
  custom: {
    50: '#524974',
    500: '#08073e',
    950: '#000000',
  },
}
SCSS
$custom: #08073e;
$custom-light: #524974;
$custom-dark: #000000;
JSON
{
  "hex": "#08073e",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 241.091,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.18655,
    "c": 0.09954,
    "h": 272.1
  },
  "luminance": 0.00551
}

Semantic roles & 50–950 ramp

primary
#08073E
secondary
#7C7D24
accent
#F632F3
background
#F5F4F7
surface
#E8E6ED
border
#C4C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #08073E

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

Preview Lab → · Contrast checker → · Palette generator →

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