#08061C#08061C

#08061C is a very dark, muted blue. Relative luminance 0.003; OKLCH L 14.3% C 0.047 H 283.7°. Best body text is #FFFFFF at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#08061C
RGBrgb(8, 6, 28)
HSLhsl(245, 65%, 7%)
HSVhsv(245, 79%, 11%)
CMYKcmyk(71.4%, 78.6%, 0%, 89%)
CIE-LABlab(2.40, 5.01, -11.90)
CIE-LCHlch(2.40, 12.91, 292.83°)
OKLaboklab(14.25% 0.0111 -0.0456)
OKLCHoklch(14.25% 0.047 283.7)
XYZxyz(0.3748, 0.2657, 1.1299)
Luminance0.0027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08061C #1A1C06
analogous
#060F1C #08061C #13061C
triadic
#08061C #1C0806 #061C08
tetradic
#08061C #1C060F #1A1C06 #061C13
square
#08061C #1C060F #1A1C06 #061C13
split-complementary
#08061C #1C1306 #0F1C06
monochromatic
#070519 #070519 #08061C #16114E #251C81

Accessibility & contrast

On white

19.94
#08061C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08061C
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08061C#FFFFFF#000000##FFFFFF
##08061C1.0019.941.0519.94
#FFFFFF19.941.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08061c;
/* rgb */ color: rgb(8, 6, 28);
/* oklch */ color: oklch(14.3% 0.047 283.7);
Tailwind
colors: {
  custom: {
    50: '#4a4958',
    500: '#08061c',
    950: '#000000',
  },
}
SCSS
$custom: #08061c;
$custom-light: #4a4958;
$custom-dark: #000000;
JSON
{
  "hex": "#08061c",
  "rgb": {
    "r": 8,
    "g": 6,
    "b": 28
  },
  "hsl": {
    "h": 245.455,
    "s": 64.706,
    "l": 6.667
  },
  "oklch": {
    "l": 0.14251,
    "c": 0.04689,
    "h": 283.7
  },
  "luminance": 0.00266
}

Semantic roles & 50–950 ramp

primary
#08061C
secondary
#565B22
accent
#E840D8
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #08061C

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

Preview Lab → · Contrast checker → · Palette generator →

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