#30302F

#30302F is the hex color Black. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #30302F; the exact match is none.

Open #30302F in the picker

#30302F color codes

HEX
#30302F
HEX8
#30302FFF
HEX8 (Android)
#FF30302F
RGB
rgb(48, 48, 47)
RGB (%)
19%, 19%, 18%
HSL
hsl(60, 1%, 19%)
HSV / HSB
hsv(60, 2%, 19%)
CMYK
cmyk(0%, 0%, 2%, 81%)
OKLCH
oklch(0.3088 0.0018 106.5)
OKLCH (%)
oklch(30.88% 0.0018 106.5)
Decimal
3158063

What color is #30302F?

#30302F sits at 31% lightness and 0.0018 chroma in OKLCH, hue 106.5°. Its nearest named color is Black.

Shades and tints of #30302F

Tints

Shades

Tones

#30302F color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #30302F in CSS

.text       { color: #30302F; }
.background { background-color: #30302F; }
.border     { border: 2px solid #30302F; }

/* Modern, perceptually uniform */
.text { color: oklch(0.3088 0.0018 106.5); }

/* #30302F at 50% transparency */
.overlay { background-color: #30302F80; }

Is #30302F accessible?

#30302F on white text scores 13.21:1; on black text it scores 1.59:1. White text passes WCAG AAA on #30302F. Recommended text color on a #30302F background: white.

A 1.59:1 vs black
A 13.21:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: white

CSS contrast-color() contrast-color(#30302F) → white
APCA Lc experimental 102.8 Lc · body text — preferred (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

See more in the gray family on the colors hub.

Frequently asked questions

What color is #30302F?
#30302F is closest to Black. In RGB it is rgb(48, 48, 47), and in HSL hsl(60, 1%, 19%).
What is #30302F in RGB?
#30302F converts to rgb(48, 48, 47) — red 48, green 48, blue 47.
What text color is readable on #30302F?
White text — it has the higher contrast ratio (13.21:1) against #30302F. White text passes WCAG AAA on #30302F.
Open #30302F in the picker