RGB is device-oriented (it describes what the screen does); OKLCH is human-oriented (it describes what the eye perceives). Converting between them is the foundation of modern design tokens.
sRGB → linear RGB → LMS cone response → Oklab → OKLCH. The full pipeline is described in Björn Ottosson's original 2020 specification.
Use OKLCH when generating shade scales, contrast pairs, or color wheels — they'll feel evenly spaced where RGB-derived equivalents won't.
Tap any swatch to see its full breakdown.
Navy
rgb(0, 0, 128)
Royal Blue
rgb(65, 105, 225)
Sky Blue
rgb(135, 206, 235)
Baby Blue
rgb(137, 207, 240)
Powder Blue
rgb(176, 224, 230)
Cornflower Blue
rgb(100, 149, 237)
Steel Blue
rgb(70, 130, 180)
Dodger Blue
rgb(30, 144, 255)
Cerulean
rgb(0, 123, 167)
Teal Blue
rgb(0, 128, 128)
Cyan
rgb(0, 255, 255)
Cobalt Blue
rgb(0, 71, 171)
Azure
rgb(0, 127, 255)
Sapphire
rgb(15, 82, 186)
Midnight Blue
rgb(25, 25, 112)
Indigo
rgb(75, 0, 130)
Periwinkle
rgb(204, 204, 255)
Slate Blue
rgb(106, 90, 205)
Colorframe shows you RGB, OKLCH, and every other format side-by-side as you pick. Copy any with one click.