#08061E#08061E

#08061E is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.5% C 0.051 H 282.6°. Best body text is #FFFFFF at 19.90:1 contrast (WCAG AA passes).

Color values

HEX#08061E
RGBrgb(8, 6, 30)
HSLhsl(245, 67%, 7%)
HSVhsv(245, 80%, 12%)
CMYKcmyk(73.3%, 80%, 0%, 88.2%)
CIE-LABlab(2.49, 5.63, -13.36)
CIE-LCHlch(2.49, 14.50, 292.87°)
OKLaboklab(14.46% 0.011 -0.0493)
OKLCHoklch(14.46% 0.051 282.6)
XYZxyz(0.3995, 0.2756, 1.2602)
Luminance0.0028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08061E #1C1E06
analogous
#06101E #08061E #14061E
triadic
#08061E #1E0806 #061E08
tetradic
#08061E #1E0610 #1C1E06 #061E14
square
#08061E #1E0610 #1C1E06 #061E14
split-complementary
#08061E #1E1406 #101E06
monochromatic
#07051A #07051A #08061E #161051 #231A84

Accessibility & contrast

On white

19.90
#08061E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#08061E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08061E
19.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08061E#FFFFFF#000000##FFFFFF
##08061E1.0019.901.0619.90
#FFFFFF19.901.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1F
Deuteranopia (green-blind)
#00081D
Tritanopia (blue-blind)
#020B10
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #08061e;
/* rgb */ color: rgb(8, 6, 30);
/* oklch */ color: oklch(14.5% 0.051 282.6);
Tailwind
colors: {
  custom: {
    50: '#4a4959',
    500: '#08061e',
    950: '#000000',
  },
}
SCSS
$custom: #08061e;
$custom-light: #4a4959;
$custom-dark: #000000;
JSON
{
  "hex": "#08061e",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 30
  },
  "hsl": {
    "h": 245,
    "s": 66.667,
    "l": 7.059
  },
  "oklch": {
    "l": 0.14458,
    "c": 0.05054,
    "h": 282.6
  },
  "luminance": 0.00276
}

Semantic roles & 50–950 ramp

primary
#08061E
secondary
#595E22
accent
#EA3EDB
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08061E

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

Preview Lab → · Contrast checker → · Palette generator →

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