Colorise ProOKLCH Engine
ExploreStudioNamesPickerPairs
ExploreStudioNamesPickerPairsContrastExtract
Menu

Product

  • Home
  • Explore
  • Studio
  • Color Names

Tools

  • Picker
  • Color Pairs
  • Contrast
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings
Home/Colors/#040509

Nearest named color · #040509

#040509

Nearest named color: Eight Ball

#040509 (rgb(4 5 9), hsl(228 38% 3%), oklch(0.116 0.012 270.7)) is closest to the named color Eight Ball. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.

What does Gray mean? →

#040509

oklch(0.116 0.012 270.7)

Color conversions

HEX
#040509
RGB
rgb(4 5 9)
HSL
hsl(228 38% 3%)
HWB
hwb(228 2% 96%)
OKLCH
oklch(0.116 0.012 270.7)
OKLab
oklab(0.116 0 -0.012)
CIE Lab
lab(1.38 0.14 -1.62)
LCH
lch(1.38 1.63 275.1)
CMYK
cmyk(56% 44% 0% 96%)

Tints · Shades · Tones

Tints

  • 15171C
  • 2A2C31
  • 414247
  • 595A5F
  • 727477
  • 8D8E91
  • A8A9AB
  • C4C5C7
  • E1E2E2

Shades

  • 030407
  • 020305
  • 010203
  • 010102
  • 000101
  • 000001
  • 000000
  • 000000
  • 000000

Tones

  • 0C0E13
  • 17191D
  • 232428
  • 2F3034
  • 3B3C40
  • 48494C
  • 565659
  • 636465
  • 727273

Color harmonies

Complementary +180°

  • 040509

    Eight Ball

  • 060502

    ≈ Liquorice

Analogous -30° +30°

  • 040509

    Eight Ball

  • 030609

    ≈ Eight Ball

  • 060408

    ≈ Eight Ball

Triadic +120° +240°

  • 040509

    Eight Ball

  • 090403

    ≈ Liquorice

  • 030604

    ≈ Black Metal

Split-complementary +150° +210°

  • 040509

    Eight Ball

  • 080402

    ≈ Liquorice

  • 050603

    ≈ Black Metal

Tetradic +90° +180° +270°

  • 040509

    Eight Ball

  • 080405

    ≈ Pupil

  • 060502

    ≈ Liquorice

  • 020605

    ≈ Black Metal

Contrast & accessibility

Ag

On white

WCAG 20.37:1 · APCA Lc 106

AAA
Ag

On black

WCAG 1.03:1 · APCA Lc 0

Fail

Best text color: #FFFFFF

WCAG 20.37:1 (AAA) · APCA Lc 106

Contrast pairs

  • #040509 / #FFFFFF
  • #040509 / #000000
  • #FFFFFF / #040509
  • #000000 / #040509

Code snippets

CSS

:root {
  --eight-ball: #040509;
  --eight-ball-rgb: 4 5 9;
  --eight-ball-oklch: oklch(0.116 0.012 270.7);
}

.element {
  color: var(--eight-ball);
  background-color: hsl(228 38% 3%);
  border-color: oklch(0.116 0.012 270.7);
}

Tailwind CSS v4

@theme {
  --color-eight-ball: #040509;
  --color-eight-ball-50: #f4f5f9;
  --color-eight-ball-100: #e6e8ec;
  --color-eight-ball-200: #d2d4d9;
  --color-eight-ball-300: #b5b7be;
  --color-eight-ball-400: #9c9ea6;
  --color-eight-ball-500: #83868e;
  --color-eight-ball-600: #6f7178;
  --color-eight-ball-700: #595b60;
  --color-eight-ball-800: #414247;
  --color-eight-ball-900: #2c2e31;
  --color-eight-ball-950: #1a1b1d;
}

SCSS

$eight-ball: #040509;
$eight-ball-rgb: 4, 5, 9;
$eight-ball-light: mix(#fff, $eight-ball, 20%);
$eight-ball-dark: mix(#000, $eight-ball, 20%);

.element {
  color: $eight-ball;
  box-shadow: 0 0 0 2px rgba($eight-ball, 0.35);
}

Similar named colors

  • 03050A

    Eight Ball

  • 060606

    Black Metal

  • 020308

    Ninja

  • 070303

    Pupil

  • 080808

    Reversed Grey

  • 030303

    Armour Wash

  • 060310

    Broken Tube

  • 090807

    Accursed Black

  • 030205

    Raven’s Coat

  • 0A0502

    Liquorice

  • 080813

    Narwhal Grey

  • 0A0908

    Badab Black Wash

Palettes with this color

  • Pure Loch Ness NoirPink · Gray

Palettes with similar colors

  • Classic Twinkle Night SignalPink · Gray
  • True Herbal Whispers SignalGreen · Gray
  • Void MagentaTrending · Cyberpunk
  • Alligator BriefGreen · Gray
  • Pure Scampi CanvasPink · Monochromatic
  • Ayahuasca Vine CascadeGreen · Warm

Open in tools

PickerPairsContrast checkerStudioJSON API
Colorise Pro

Free OKLCH color workspace: precision color picker, color pairs, WCAG & APCA contrast checker, palette from image, Studio systems, names, gradients, and brand tools. Export HEX, CSS, Tailwind & DTCG.

OKLCH Engine

Product

  • Home
  • Explore
  • Studio
  • Color Names
  • Color Codes

Tools

  • Color Picker
  • Color Pairs
  • Contrast Checker
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL
  • For presentations
  • For business cards
  • For SaaS landings
  • Duo pairs
  • Trio systems

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings

Legal

  • Privacy
  • Terms

© 2026 Colorise Pro. All rights reserved.

© 2026 Colorise Pro. Built for precision color work.

Report infringement: [email protected] (Colorise Pro)

PrivacyTermsOKLCH · WCAG · APCA