#080A31#080A31

#080A31 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.076 H 273.2°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#080A31
RGBrgb(8, 10, 49)
HSLhsl(237, 72%, 11%)
HSVhsv(237, 84%, 19%)
CMYKcmyk(83.7%, 79.6%, 0%, 80.8%)
CIE-LABlab(4.43, 12.16, -24.91)
CIE-LCHlch(4.43, 27.72, 296.01°)
OKLaboklab(17.61% 0.0042 -0.0756)
OKLCHoklch(17.61% 0.076 273.2)
XYZxyz(0.7629, 0.4904, 2.9596)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080A31 #312F08
analogous
#081E31 #080A31 #1A0831
triadic
#080A31 #31080A #0A3108
tetradic
#080A31 #31081E #312F08 #08311A
square
#080A31 #31081E #312F08 #08311A
split-complementary
#080A31 #311A08 #1E3108
monochromatic
#04051A #04051A #080A31 #111566 #191F9A

Accessibility & contrast

On white

19.13
#080A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#080A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080A31
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080A31#FFFFFF#000000##FFFFFF
##080A311.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#000D30
Tritanopia (blue-blind)
#00141C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #080a31;
/* rgb */ color: rgb(8, 10, 49);
/* oklch */ color: oklch(17.6% 0.076 273.2);
Tailwind
colors: {
  custom: {
    50: '#4d4b69',
    500: '#080a31',
    950: '#000000',
  },
}
SCSS
$custom: #080a31;
$custom-light: #4d4b69;
$custom-dark: #000000;
JSON
{
  "hex": "#080a31",
  "rgb": {
    "r": 8,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 237.073,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.1761,
    "c": 0.07569,
    "h": 273.2
  },
  "luminance": 0.0049
}

Semantic roles & 50–950 ramp

primary
#080A31
secondary
#706C25
accent
#E639EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #080A31

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

Preview Lab → · Contrast checker → · Palette generator →

#080A31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva