Photo in the color Smoky black
Pictured: Smoky black, the closest color we have a photo of (#100C08)
rgb(11, 11, 11)
#0B0B0B

Raven #0B0B0B RGB Color Code

Name from the community color list.

Raven (#0B0B0B) is a neutral black. In RGB it is made of 4% red, 4% green and 4% blue (R 11, G 11, B 11). The red channel is the strongest. In HSL it has a hue of 0°, 0% saturation and 4% lightness. Its relative luminance is 0.003, so white text is easier to read on top of it. For print, a rough CMYK match is 0% cyan, 0% magenta, 0% yellow and 96% black. Check it against your printer's ICC profile before you print. Its saturation is very low, so it works as a neutral. It goes well with almost any accent color.

Open in color picker

Raven color codes

#0B0B0B in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #0B0B0B Valid CSS
RGB rgb(11, 11, 11) Valid CSS
HSL hsl(0, 0%, 4%) Valid CSS
HSV / HSB hsv(0, 0%, 4%) Not a CSS format
HWB hwb(0 4% 96%) Valid CSS
CMYK cmyk(0%, 0%, 0%, 96%) Approximate (no ICC profile)
OKLCH oklch(14.96% 0 0) Valid CSS
OKLab oklab(14.96% 0 0) Valid CSS
CIELAB lab(3.02% 0 0) D50, as in CSS
CIELCH lch(3.02% 0 0) Valid CSS
Display P3 color(display-p3 0.0431 0.0431 0.0431) Valid CSS
XYZ (D65) color(xyz-d65 0.0032 0.0033 0.0036) Valid CSS
Decimal 723723 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.0033. Nearest web-safe color: #000000.

Mix Raven with other colors

See what #0B0B0B makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Raven in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--raven: #0B0B0B;
Sass variable$raven: #0B0B0B;
Tailwind CSS v4@theme { --color-raven: #0B0B0B; }
Tailwind CSS v3 configcolors: { 'raven': '#0B0B0B' }
SwiftUIColor(red: 0.043, green: 0.043, blue: 0.043)
UIKitUIColor(red: 0.043, green: 0.043, blue: 0.043, alpha: 1)
Android XML<color name="raven">#FF0B0B0B</color>
Flutter and Jetpack ComposeColor(0xFF0B0B0B)

Accessibility and contrast

White text works best on #0B0B0B (19.68:1, AAA). Here is how #0B0B0B does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
19.68:1 on white
APCA Lc 106
AAA
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
1.07:1 on black
APCA Lc 0
Fails AATry #747474

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Raven

#0B0B0B next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#0B0B0B has almost no hue, so it looks much the same with every type of color blindness. Only its lightness counts. Try your own colors in the color blindness simulator.

Raven in a user interface

A sample app screen with #0B0B0B as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #0B0B0B as it is. On the dark theme, #0B0B0B is too hard to read as text (1.11:1), so links, the badge and outline text use #808080 there (4.50:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Raven

These schemes turn the hue of #0B0B0B around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Raven

Four CSS gradients made from #0B0B0B. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #C7C7C7, #0B0B0B);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #0B0B0B, #010101);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #0B0B0B, #0B0B0B, #0B0B0B);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #0B0B0B, #0B0B0B, #0B0B0B);

Edit in the gradient generator

Shades, tints and tones of Raven

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Raven sits at step 950. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    F7F7F7
  2. 100
    EDEDED
  3. 200
    DBDBDB
  4. 300
    C1C1C1
  5. 400
    A3A3A3
  6. 500
    868686
  7. 600
    6C6C6C
  8. 700
    555555
  9. 800
    424242
  10. 900
    303030
  11. 950
    0B0B0B

Closest RAL, Tailwind and CSS colors

The nearest match to #0B0B0B in three color systems that designers and builders use.

ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (ΔE in OKLab). Browse all shades of black or search the color library.