#080D40#080D40

#080D40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.095 H 270.1°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#080D40
RGBrgb(8, 13, 64)
HSLhsl(235, 78%, 14%)
HSVhsv(235, 88%, 25%)
CMYKcmyk(87.5%, 79.7%, 0%, 74.9%)
CIE-LABlab(6.41, 18.83, -32.62)
CIE-LCHlch(6.41, 37.67, 300.00°)
OKLaboklab(20.01% 0.0001 -0.095)
OKLCHoklch(20.01% 0.095 270.1)
XYZxyz(1.1692, 0.7095, 4.9248)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080D40 #403B08
analogous
#082940 #080D40 #1F0840
triadic
#080D40 #40080D #0D4008
tetradic
#080D40 #400829 #403B08 #08401F
square
#080D40 #400829 #403B08 #08401F
split-complementary
#080D40 #401F08 #294008
monochromatic
#03061B #03061B #080D40 #0F1876 #1623AD

Accessibility & contrast

On white

18.39
#080D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#080D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080D40
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080D40#FFFFFF#000000##FFFFFF
##080D401.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00113F
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #080d40;
/* rgb */ color: rgb(8, 13, 64);
/* oklch */ color: oklch(20.0% 0.095 270.1);
Tailwind
colors: {
  custom: {
    50: '#534c75',
    500: '#080d40',
    950: '#000000',
  },
}
SCSS
$custom: #080d40;
$custom-light: #534c75;
$custom-dark: #000000;
JSON
{
  "hex": "#080d40",
  "rgb": {
    "r": 8,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 234.643,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20009,
    "c": 0.09505,
    "h": 270.1
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#080D40
secondary
#7E7725
accent
#E334F4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #080D40

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

Preview Lab → · Contrast checker → · Palette generator →

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