#080939#080939

#080939 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.4% C 0.090 H 272.3°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#080939
RGBrgb(8, 9, 57)
HSLhsl(239, 75%, 13%)
HSVhsv(239, 86%, 22%)
CMYKcmyk(86%, 84.2%, 0%, 77.6%)
CIE-LABlab(4.90, 17.10, -30.04)
CIE-LCHlch(4.90, 34.56, 299.65°)
OKLaboklab(18.38% 0.0037 -0.0895)
OKLCHoklch(18.38% 0.09 272.3)
XYZxyz(0.9361, 0.5423, 3.9254)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080939 #393808
analogous
#082139 #080939 #200839
triadic
#080939 #390809 #093908
tetradic
#080939 #390821 #393808 #083920
square
#080939 #390821 #393808 #083920
split-complementary
#080939 #392008 #213908
monochromatic
#04041B #04041B #080939 #10116F #171AA4

Accessibility & contrast

On white

18.95
#080939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#080939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080939
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080939#FFFFFF#000000##FFFFFF
##0809391.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#000E38
Tritanopia (blue-blind)
#001720
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #080939;
/* rgb */ color: rgb(8, 9, 57);
/* oklch */ color: oklch(18.4% 0.090 272.3);
Tailwind
colors: {
  custom: {
    50: '#504a70',
    500: '#080939',
    950: '#000000',
  },
}
SCSS
$custom: #080939;
$custom-light: #504a70;
$custom-dark: #000000;
JSON
{
  "hex": "#080939",
  "rgb": {
    "r": 8,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 238.776,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.18383,
    "c": 0.08958,
    "h": 272.3
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#080939
secondary
#787625
accent
#EE36F2
background
#F4F4F6
surface
#E7E7EC
border
#C3C3C7
text
#020107
muted
#78777A

Preview Lab

Preview with #080939

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

Preview Lab → · Contrast checker → · Palette generator →

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