#080738#080738

#080738 is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.9% C 0.091 H 273.3°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#080738
RGBrgb(8, 7, 56)
HSLhsl(241, 78%, 12%)
HSVhsv(241, 88%, 22%)
CMYKcmyk(85.7%, 87.5%, 0%, 78%)
CIE-LABlab(4.42, 17.37, -30.09)
CIE-LCHlch(4.42, 34.74, 300.00°)
OKLaboklab(17.85% 0.0052 -0.0907)
OKLCHoklch(17.85% 0.091 273.3)
XYZxyz(0.8897, 0.4890, 3.7881)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080738 #373807
analogous
#071F38 #080738 #200738
triadic
#080738 #380807 #073808
tetradic
#080738 #38071F #373807 #073820
square
#080738 #38071F #373807 #073820
split-complementary
#080738 #382007 #1F3807
monochromatic
#04031B #04031B #080738 #100E6E #1815A5

Accessibility & contrast

On white

19.13
#080738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##080738#FFFFFF#000000##FFFFFF
##0807381.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)
#001239
Deuteranopia (green-blind)
#000D37
Tritanopia (blue-blind)
#00151F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #080738;
/* rgb */ color: rgb(8, 7, 56);
/* oklch */ color: oklch(17.9% 0.091 273.3);
Tailwind
colors: {
  custom: {
    50: '#50496f',
    500: '#080738',
    950: '#000000',
  },
}
SCSS
$custom: #080738;
$custom-light: #50496f;
$custom-dark: #000000;
JSON
{
  "hex": "#080738",
  "rgb": {
    "r": 8,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 241.224,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.17854,
    "c": 0.09084,
    "h": 273.3
  },
  "luminance": 0.00489
}

Semantic roles & 50–950 ramp

primary
#080738
secondary
#767823
accent
#F434F0
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #080738

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

Preview Lab → · Contrast checker → · Palette generator →

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