#080838#080838

#080838 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.1% C 0.089 H 272.9°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#080838
RGBrgb(8, 8, 56)
HSLhsl(240, 75%, 13%)
HSVhsv(240, 86%, 22%)
CMYKcmyk(85.7%, 85.7%, 0%, 78%)
CIE-LABlab(4.61, 16.95, -29.77)
CIE-LCHlch(4.61, 34.26, 299.65°)
OKLaboklab(18.06% 0.0045 -0.0893)
OKLCHoklch(18.06% 0.089 272.9)
XYZxyz(0.9005, 0.5107, 3.7917)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080838 #383808
analogous
#082038 #080838 #200838
triadic
#080838 #380808 #083808
tetradic
#080838 #380820 #383808 #083820
square
#080838 #380820 #383808 #083820
split-complementary
#080838 #382008 #203808
monochromatic
#04041B #04041B #080838 #10106E #1717A3

Accessibility & contrast

On white

19.05
#080838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#080838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080838
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080838#FFFFFF#000000##FFFFFF
##0808381.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001239
Deuteranopia (green-blind)
#000D37
Tritanopia (blue-blind)
#00161F
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #080838;
/* rgb */ color: rgb(8, 8, 56);
/* oklch */ color: oklch(18.1% 0.089 272.9);
Tailwind
colors: {
  custom: {
    50: '#50496f',
    500: '#080838',
    950: '#000000',
  },
}
SCSS
$custom: #080838;
$custom-light: #50496f;
$custom-dark: #000000;
JSON
{
  "hex": "#080838",
  "rgb": {
    "r": 8,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 240,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.18058,
    "c": 0.08943,
    "h": 272.9
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#080838
secondary
#777725
accent
#F236F2
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020107
muted
#78777A

Preview Lab

Preview with #080838

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

Preview Lab → · Contrast checker → · Palette generator →

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