#080427#080427

#080427 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 14.9% C 0.070 H 280.4°. Best body text is #FFFFFF at 19.87:1 contrast (WCAG AA passes).

Color values

HEX#080427
RGBrgb(8, 4, 39)
HSLhsl(247, 81%, 8%)
HSVhsv(247, 90%, 15%)
CMYKcmyk(79.5%, 89.7%, 0%, 84.7%)
CIE-LABlab(2.57, 9.78, -20.28)
CIE-LCHlch(2.57, 22.51, 295.75°)
OKLaboklab(14.91% 0.0127 -0.0691)
OKLCHoklch(14.91% 0.07 280.4)
XYZxyz(0.5096, 0.2849, 1.9472)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080427 #232704
analogous
#041127 #080427 #190427
triadic
#080427 #270804 #042708
tetradic
#080427 #270411 #232704 #042719
square
#080427 #270411 #232704 #042719
split-complementary
#080427 #271904 #112704
monochromatic
#06031C #06031C #080427 #130A5F #1F0F96

Accessibility & contrast

On white

19.87
#080427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#080427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080427
19.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080427#FFFFFF#000000##FFFFFF
##0804271.0019.871.0619.87
#FFFFFF19.871.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B28
Deuteranopia (green-blind)
#000826
Tritanopia (blue-blind)
#000D14
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #080427;
/* rgb */ color: rgb(8, 4, 39);
/* oklch */ color: oklch(14.9% 0.070 280.4);
Tailwind
colors: {
  custom: {
    50: '#4a4861',
    500: '#080427',
    950: '#000000',
  },
}
SCSS
$custom: #080427;
$custom-light: #4a4861;
$custom-dark: #000000;
JSON
{
  "hex": "#080427",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 246.857,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.14905,
    "c": 0.07026,
    "h": 280.4
  },
  "luminance": 0.00285
}

Semantic roles & 50–950 ramp

primary
#080427
secondary
#616A1D
accent
#F830E1
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010005
muted
#777779

Preview Lab

Preview with #080427

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

Preview Lab → · Contrast checker → · Palette generator →

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