100% Client-Side • Live Color Engine
Hex Color Converter & Inspector
Inspect hex codes, calculate 8-digit alpha opacity, convert between RGB, HSL, OKLCH, and binary, and test WCAG 2.1 text contrast ratios in real time.
Live Color Picker #3B82F6
#
Alpha Opacity100% (Hex: FF)
Popular Presets
WCAG 2.1 Contrast Readability ISO / W3C Standard
White Text
3.68:1 FAIL
Black Text
5.71:1 AA PASS
Recommended foreground color for maximum accessibility: Black (#000000)
Converted CSS & Machine Formats
6-Digit Hex (RGB)#3B82F6
8-Digit Hex (RGBA)Modern CSS
#3B82F6FFCSS RGB / RGBArgba(59, 130, 246, 1)
CSS HSLhsla(217, 91%, 60%, 1)
OKLCH (CSS Color 4)P3 Wide Gamut
oklch(0.623 0.188 259.8)24-Bit Binary (R G B)00111011 10000010 11110110
Hex Integer & Decimal0x3B82F6 (3900150)
Hex Opacity & Transparency Cheat Sheet
2-character alpha suffix values for 8-digit hex codes (#RRGGBBAA), calculated with round(percent * 2.55).
| Opacity | Alpha Suffix | 8-Digit Preview | Visual Swatch | Action |
|---|---|---|---|---|
| 100% | FF | #3B82F6FF | ||
| 95% | F2 | #3B82F6F2 | ||
| 90% | E6 | #3B82F6E6 | ||
| 85% | D9 | #3B82F6D9 | ||
| 80% | CC | #3B82F6CC | ||
| 75% | BF | #3B82F6BF | ||
| 70% | B3 | #3B82F6B3 | ||
| 65% | A6 | #3B82F6A6 | ||
| 60% | 99 | #3B82F699 | ||
| 55% | 8C | #3B82F68C | ||
| 50% | 80 | #3B82F680 | ||
| 45% | 73 | #3B82F673 | ||
| 40% | 66 | #3B82F666 | ||
| 35% | 59 | #3B82F659 | ||
| 30% | 4D | #3B82F64D | ||
| 25% | 40 | #3B82F640 | ||
| 20% | 33 | #3B82F633 | ||
| 15% | 26 | #3B82F626 | ||
| 10% | 1A | #3B82F61A | ||
| 5% | 0D | #3B82F60D | ||
| 0% | 00 | #3B82F600 |
Standard CSS & HTML Named Colors
Browse and filter standard W3C and X11 color names. Click any swatch to load into the converter.
crimson#DC143C
firebrick#B22222
darkred#8B0000
red#FF0000
salmon#FA8072
indianred#CD5C5C
lightcoral#F08080
coral#FF7F50
tomato#FF6347
orangered#FF4500
hotpink#FF69B4
deeppink#FF1493
pink#FFC0CB
lightpink#FFB6C1
darkorange#FF8C00
orange#FFA500
gold#FFD700
yellow#FFFF00
lightyellow#FFFFE0
khaki#F0E68C
darkkhaki#BDB76B
chartreuse#7FFF00
lawngreen#7CFC00
lime#00FF00
limegreen#32CD32
forestgreen#228B22
green#008000
darkgreen#006400
seagreen#2E8B57
mediumseagreen#3CB371
springgreen#00FF7F
lightgreen#90EE90
palegreen#98FB98
olive#808000
olivedrab#6B8E23
darkolivegreen#556B2F
Complete Reference Guide
Read the Deep Guide → Want the deep science behind Hexadecimal & Bitwise operations?
Read our in-depth engineering breakdown: 4-bit nibbles, 0-255 byte boundaries, ASCII tables, bitwise masking, and modern wide-gamut OKLCH palettes.