Color #2a5fff
A vivid, highly saturated medium blue.
Conversions
#2a5fff
rgb(42, 95, 255)
hsl(225.1, 100%, 58.2%)
hsv(225.1, 83.5%, 100%)
cmyk(83.5%, 62.7%, 0%, 0%)
lab(46.83, 41.15, -83.73)
lch(46.83, 93.3, 296.17)
oklch(55.7%, 0.2436, 264.94)
hwb(225.1, 16.5%, 0%)
Harmony colors
Accessibility
White text reads better on this background (5.02:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4747e5 · ΔE 8.1
Deuteranopia
#4440df · ΔE 10.1
Tritanopia
#2ecec8 · ΔE 45.6
Achromatopsia
#6f6f6f · ΔE 30.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a5fff;
bg-[#2a5fff]
Related colors
Frequently asked questions
#2a5fff (#2a5fff) is rgb(42, 95, 255) in RGB.
No, #2a5fff is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #2a5fff, or check how it holds up for accessibility.