#080F2F#080F2F

#080F2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.065 H 269.5°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#080F2F
RGBrgb(8, 15, 47)
HSLhsl(229, 71%, 11%)
HSVhsv(229, 83%, 18%)
CMYKcmyk(83%, 68.1%, 0%, 81.6%)
CIE-LABlab(5.41, 8.81, -21.87)
CIE-LCHlch(5.41, 23.58, 291.95°)
OKLaboklab(18.55% -0.0005 -0.0647)
OKLCHoklch(18.55% 0.065 269.5)
XYZxyz(0.7839, 0.5984, 2.7630)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080F2F #2F2808
analogous
#08222F #080F2F #14082F
triadic
#080F2F #2F080F #0F2F08
tetradic
#080F2F #2F0822 #2F2808 #082F14
square
#080F2F #2F0822 #2F2808 #082F14
split-complementary
#080F2F #2F1408 #222F08
monochromatic
#04081A #04081A #080F2F #112063 #1A3098

Accessibility & contrast

On white

18.75
#080F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#080F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080F2F
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080F2F#FFFFFF#000000##FFFFFF
##080F2F1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#00171D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #080f2f;
/* rgb */ color: rgb(8, 15, 47);
/* oklch */ color: oklch(18.5% 0.065 269.5);
Tailwind
colors: {
  custom: {
    50: '#4d4d68',
    500: '#080f2f',
    950: '#000000',
  },
}
SCSS
$custom: #080f2f;
$custom-light: #4d4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#080f2f",
  "rgb": {
    "r": 8,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 229.231,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18545,
    "c": 0.06467,
    "h": 269.5
  },
  "luminance": 0.00599
}

Semantic roles & 50–950 ramp

primary
#080F2F
secondary
#6E6125
accent
#CD3AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #080F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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