#080F2C#080F2C

#080F2C is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.2% C 0.059 H 269.3°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#080F2C
RGBrgb(8, 15, 44)
HSLhsl(228, 69%, 10%)
HSVhsv(228, 82%, 17%)
CMYKcmyk(81.8%, 65.9%, 0%, 82.7%)
CIE-LABlab(5.19, 7.32, -19.96)
CIE-LCHlch(5.19, 21.26, 290.15°)
OKLaboklab(18.25% -0.0007 -0.0594)
OKLCHoklch(18.25% 0.059 269.3)
XYZxyz(0.7254, 0.5751, 2.4551)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080F2C #2C2508
analogous
#08212C #080F2C #13082C
triadic
#080F2C #2C080F #0F2C08
tetradic
#080F2C #2C0821 #2C2508 #082C13
square
#080F2C #2C0821 #2C2508 #082C13
split-complementary
#080F2C #2C1308 #212C08
monochromatic
#05091A #05091A #080F2C #112160 #1B3294

Accessibility & contrast

On white

18.83
#080F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080F2C
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080F2C#FFFFFF#000000##FFFFFF
##080F2C1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132D
Deuteranopia (green-blind)
#00102B
Tritanopia (blue-blind)
#00161B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #080f2c;
/* rgb */ color: rgb(8, 15, 44);
/* oklch */ color: oklch(18.2% 0.059 269.3);
Tailwind
colors: {
  custom: {
    50: '#4c4d65',
    500: '#080f2c',
    950: '#000000',
  },
}
SCSS
$custom: #080f2c;
$custom-light: #4c4d65;
$custom-dark: #000000;
JSON
{
  "hex": "#080f2c",
  "rgb": {
    "r": 8,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 228.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18248,
    "c": 0.0594,
    "h": 269.3
  },
  "luminance": 0.00575
}

Semantic roles & 50–950 ramp

primary
#080F2C
secondary
#6B5D25
accent
#CA3CEC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010105
muted
#77777A

Preview Lab

Preview with #080F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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