#080331#080331

#080331 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 16.0% C 0.087 H 276.9°. Best body text is #FFFFFF at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#080331
RGBrgb(8, 3, 49)
HSLhsl(247, 88%, 10%)
HSVhsv(247, 94%, 19%)
CMYKcmyk(83.7%, 93.9%, 0%, 80.8%)
CIE-LABlab(3.06, 14.96, -27.11)
CIE-LCHlch(3.06, 30.96, 298.90°)
OKLaboklab(15.99% 0.0104 -0.0865)
OKLCHoklch(15.99% 0.087 276.9)
XYZxyz(0.6869, 0.3384, 2.9343)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080331 #2C3103
analogous
#031531 #080331 #1F0331
triadic
#080331 #310803 #033108
tetradic
#080331 #310315 #2C3103 #03311F
square
#080331 #310315 #2C3103 #03311F
split-complementary
#080331 #311F03 #153103
monochromatic
#05021D #05021D #080331 #11076B #1B0AA4

Accessibility & contrast

On white

19.67
#080331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080331
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080331#FFFFFF#000000##FFFFFF
##0803311.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D32
Deuteranopia (green-blind)
#000930
Tritanopia (blue-blind)
#001019
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #080331;
/* rgb */ color: rgb(8, 3, 49);
/* oklch */ color: oklch(16.0% 0.087 276.9);
Tailwind
colors: {
  custom: {
    50: '#4d4769',
    500: '#080331',
    950: '#000000',
  },
}
SCSS
$custom: #080331;
$custom-light: #4d4769;
$custom-dark: #000000;
JSON
{
  "hex": "#080331",
  "rgb": {
    "r": 8,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 246.522,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.15985,
    "c": 0.08713,
    "h": 276.9
  },
  "luminance": 0.00338
}

Semantic roles & 50–950 ramp

primary
#080331
secondary
#6B741B
accent
#FF29E7
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #080331

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

Preview Lab → · Contrast checker → · Palette generator →

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