#080727#080727

#080727 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 15.7% C 0.064 H 277.7°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#080727
RGBrgb(8, 7, 39)
HSLhsl(242, 70%, 9%)
HSVhsv(242, 82%, 15%)
CMYKcmyk(79.5%, 82.1%, 0%, 84.7%)
CIE-LABlab(3.16, 8.58, -19.36)
CIE-LCHlch(3.16, 21.18, 293.91°)
OKLaboklab(15.74% 0.0086 -0.0635)
OKLCHoklch(15.74% 0.064 277.7)
XYZxyz(0.5422, 0.3500, 1.9580)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080727 #262707
analogous
#071627 #080727 #180727
triadic
#080727 #270807 #072708
tetradic
#080727 #270716 #262707 #072718
square
#080727 #270716 #262707 #072718
split-complementary
#080727 #271807 #162707
monochromatic
#05051A #05051A #080727 #13105B #1D1A8F

Accessibility & contrast

On white

19.63
#080727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#080727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080727
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080727#FFFFFF#000000##FFFFFF
##0807271.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D28
Deuteranopia (green-blind)
#000A26
Tritanopia (blue-blind)
#000F15
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #080727;
/* rgb */ color: rgb(8, 7, 39);
/* oklch */ color: oklch(15.7% 0.064 277.7);
Tailwind
colors: {
  custom: {
    50: '#4a4a61',
    500: '#080727',
    950: '#000000',
  },
}
SCSS
$custom: #080727;
$custom-light: #4a4a61;
$custom-dark: #000000;
JSON
{
  "hex": "#080727",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 241.875,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15742,
    "c": 0.06408,
    "h": 277.7
  },
  "luminance": 0.0035
}

Semantic roles & 50–950 ramp

primary
#080727
secondary
#646623
accent
#EC3BE7
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010105
muted
#777779

Preview Lab

Preview with #080727

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

Preview Lab → · Contrast checker → · Palette generator →

#080727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva