#080F42#080F42

#080F42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.095 H 269.2°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#080F42
RGBrgb(8, 15, 66)
HSLhsl(233, 78%, 15%)
HSVhsv(233, 88%, 26%)
CMYKcmyk(87.9%, 77.3%, 0%, 74.1%)
CIE-LABlab(7.10, 18.56, -32.91)
CIE-LCHlch(7.10, 37.78, 299.42°)
OKLaboklab(20.64% -0.0013 -0.0955)
OKLCHoklch(20.64% 0.095 269.2)
XYZxyz(1.2540, 0.7865, 5.2389)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080F42 #423B08
analogous
#082C42 #080F42 #1E0842
triadic
#080F42 #42080F #0F4208
tetradic
#080F42 #42082C #423B08 #08421E
square
#080F42 #42082C #423B08 #08421E
split-complementary
#080F42 #421E08 #2C4208
monochromatic
#03061B #03061B #080F42 #0F1B79 #1528AF

Accessibility & contrast

On white

18.14
#080F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#080F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080F42
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080F42#FFFFFF#000000##FFFFFF
##080F421.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001341
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #080f42;
/* rgb */ color: rgb(8, 15, 66);
/* oklch */ color: oklch(20.6% 0.095 269.2);
Tailwind
colors: {
  custom: {
    50: '#534d77',
    500: '#080f42',
    950: '#000000',
  },
}
SCSS
$custom: #080f42;
$custom-light: #534d77;
$custom-dark: #000000;
JSON
{
  "hex": "#080f42",
  "rgb": {
    "r": 8,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 232.759,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.20643,
    "c": 0.09547,
    "h": 269.2
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#080F42
secondary
#807525
accent
#DD33F5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030109
muted
#78777B

Preview Lab

Preview with #080F42

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

Preview Lab → · Contrast checker → · Palette generator →

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