Closest to Royal Blue
#0052CC
Color conversions
Reference values for common CSS, design, and accessibility formats.
| Format | Value | Preview | Copy |
|---|---|---|---|
| HEX | 0052CC | ||
| HEX with # | #0052CC | ||
| RGB | rgb(0, 82, 204) | ||
| RGBA | rgba(0, 82, 204, 1) | ||
| HSL | hsl(215.88 100% 40%) | ||
| HSLA | hsla(215.88, 100%, 40%, 1) | ||
| HSV | hsv(215.88, 100%, 80%) | ||
| CMYK | cmyk(100%, 59.8%, 0%, 20%) | ||
| OKLCH | oklch(48.02% 0.2012 260.48) |
Closest named matches
Color modifications
Lighter shades
Saturation steps
Suggested pairings
Split-complementary
Try this combo as a gradientUse this color in CSS
--color: #0052CC;
bg-[#0052cc]
Accessibility quick-check
White text
6.82:1
AA normal
Black text
3.08:1
AA large
Reference notes
#0052CC is a balanced, saturated blue color closest to Royal Blue. The color has RGB channels of 0, 82, and 204; in HSL terms, it is centered near 216 degrees with 100% saturation and 40% lightness. In a design system, this cool reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for badges, highlights, product accents, and moments where quick recognition matters. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.