#08061B#08061B

#08061B is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.1% C 0.045 H 284.2°. Best body text is #FFFFFF at 19.96:1 contrast (WCAG AA passes).

Color values

HEX#08061B
RGBrgb(8, 6, 27)
HSLhsl(246, 64%, 6%)
HSVhsv(246, 78%, 11%)
CMYKcmyk(70.4%, 77.8%, 0%, 89.4%)
CIE-LABlab(2.36, 4.71, -11.16)
CIE-LCHlch(2.36, 12.11, 292.87°)
OKLaboklab(14.15% 0.0111 -0.0437)
OKLCHoklch(14.15% 0.045 284.2)
XYZxyz(0.3630, 0.2610, 1.0679)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08061B #191B06
analogous
#060F1B #08061B #13061B
triadic
#08061B #1B0806 #061B08
tetradic
#08061B #1B060F #191B06 #061B13
square
#08061B #1B060F #191B06 #061B13
split-complementary
#08061B #1B1306 #0F1B06
monochromatic
#070619 #070619 #08061B #17114D #261C7F

Accessibility & contrast

On white

19.96
#08061B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#08061B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08061B
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08061B#FFFFFF#000000##FFFFFF
##08061B1.0019.961.0519.96
#FFFFFF19.961.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00091C
Deuteranopia (green-blind)
#00081B
Tritanopia (blue-blind)
#030A0F
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #08061b;
/* rgb */ color: rgb(8, 6, 27);
/* oklch */ color: oklch(14.1% 0.045 284.2);
Tailwind
colors: {
  custom: {
    50: '#4a4957',
    500: '#08061b',
    950: '#000000',
  },
}
SCSS
$custom: #08061b;
$custom-light: #4a4957;
$custom-dark: #000000;
JSON
{
  "hex": "#08061b",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 27
  },
  "hsl": {
    "h": 245.714,
    "s": 63.636,
    "l": 6.471
  },
  "oklch": {
    "l": 0.1415,
    "c": 0.04504,
    "h": 284.2
  },
  "luminance": 0.00261
}

Semantic roles & 50–950 ramp

primary
#08061B
secondary
#555A23
accent
#E741D7
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08061B

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

Preview Lab → · Contrast checker → · Palette generator →

#08061B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva