#080638#080638

#080638 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.6% C 0.092 H 273.6°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#080638
RGBrgb(8, 6, 56)
HSLhsl(242, 81%, 12%)
HSVhsv(242, 89%, 22%)
CMYKcmyk(85.7%, 89.3%, 0%, 78%)
CIE-LABlab(4.22, 17.78, -30.41)
CIE-LCHlch(4.22, 35.22, 300.32°)
OKLaboklab(17.65% 0.0058 -0.0921)
OKLCHoklch(17.65% 0.092 273.6)
XYZxyz(0.8788, 0.4673, 3.7845)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080638 #363806
analogous
#061D38 #080638 #210638
triadic
#080638 #380806 #063808
tetradic
#080638 #38061D #363806 #063821
square
#080638 #38061D #363806 #063821
split-complementary
#080638 #382106 #1D3806
monochromatic
#04031C #04031C #080638 #100C6F #1812A7

Accessibility & contrast

On white

19.21
#080638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#080638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080638
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080638#FFFFFF#000000##FFFFFF
##0806381.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001139
Deuteranopia (green-blind)
#000C37
Tritanopia (blue-blind)
#00151E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #080638;
/* rgb */ color: rgb(8, 6, 56);
/* oklch */ color: oklch(17.6% 0.092 273.6);
Tailwind
colors: {
  custom: {
    50: '#50486f',
    500: '#080638',
    950: '#000000',
  },
}
SCSS
$custom: #080638;
$custom-light: #50486f;
$custom-dark: #000000;
JSON
{
  "hex": "#080638",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 242.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.17646,
    "c": 0.09228,
    "h": 273.6
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#080638
secondary
#757821
accent
#F731EF
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #080638

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

Preview Lab → · Contrast checker → · Palette generator →

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