#080F40#080F40

#080F40 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.092 H 269.3°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#080F40
RGBrgb(8, 15, 64)
HSLhsl(233, 78%, 14%)
HSVhsv(233, 88%, 25%)
CMYKcmyk(87.5%, 76.6%, 0%, 74.9%)
CIE-LABlab(6.89, 17.62, -31.83)
CIE-LCHlch(6.89, 36.38, 298.96°)
OKLaboklab(20.41% -0.001 -0.0924)
OKLCHoklch(20.41% 0.092 269.3)
XYZxyz(1.1961, 0.7633, 4.9338)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080F40 #403908
analogous
#082B40 #080F40 #1D0840
triadic
#080F40 #40080F #0F4008
tetradic
#080F40 #40082B #403908 #08401D
square
#080F40 #40082B #403908 #08401D
split-complementary
#080F40 #401D08 #2B4008
monochromatic
#03061B #03061B #080F40 #0F1C76 #1629AD

Accessibility & contrast

On white

18.22
#080F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#080F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080F40
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080F40#FFFFFF#000000##FFFFFF
##080F401.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001842
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #080f40;
/* rgb */ color: rgb(8, 15, 64);
/* oklch */ color: oklch(20.4% 0.092 269.3);
Tailwind
colors: {
  custom: {
    50: '#534d75',
    500: '#080f40',
    950: '#000000',
  },
}
SCSS
$custom: #080f40;
$custom-light: #534d75;
$custom-dark: #000000;
JSON
{
  "hex": "#080f40",
  "rgb": {
    "r": 8,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 232.5,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20407,
    "c": 0.09242,
    "h": 269.3
  },
  "luminance": 0.00763
}

Semantic roles & 50–950 ramp

primary
#080F40
secondary
#7E7325
accent
#DC34F4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #080F40

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

Preview Lab → · Contrast checker → · Palette generator →

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