Skip to content
Kolorvia
#0040fc

Color #0040fc

A vivid, highly saturated medium blue.

Conversions

HEX
#0040fc
RGB
rgb(0, 64, 252)
HSL
hsl(224.8, 100%, 49.4%)
HSV / HSB
hsv(224.8, 100%, 98.8%)
CMYK
cmyk(100%, 74.6%, 0%, 1.2%)
LAB
lab(39.06, 57.06, -94.91)
LCH
lch(39.06, 110.74, 301.01)
OKLCH
oklch(49.8%, 0.277, 263.78)
HWB
hwb(224.8, 0%, 1.2%)

Harmony colors

Complementary

#fcbc00

Analogous

#00befc
#0040fc
#3e00fc

Triadic

#0040fc
#fc0040
#40fc00

Split-complementary

#0040fc
#fc3e00
#befc00

Tetradic

#0040fc
#bc00fc
#fcbc00
#40fc00

Square

#0040fc
#fc00be
#fcbc00
#00fc3e

Shades

Color #0040fc mixed toward black.

#0035d2
#002ba8
#00207e
#001554
#000b2a

Tints

Color #0040fc mixed toward white.

#285eff
#537fff
#7e9fff
#a9bfff
#d4dfff

Tones

Color #0040fc mixed toward gray.

#154ae7
#2a55d2
#3f5fbd
#5469a8
#697493

Accessibility

Aa White text on this color
6.69:1
Aa Black text on this color
3.14:1

White text reads better on this background (6.69:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#292ae1 · ΔE 6.1

Deuteranopia

#2621d9 · ΔE 8.1

Tritanopia

#08c7c1 · ΔE 51.2

Achromatopsia

#5c5c5c · ΔE 31.7

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #0040fc;
Tailwind (arbitrary value)
bg-[#0040fc]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Navy #000080

Frequently asked questions

#0040fc (#0040fc) is rgb(0, 64, 252) in RGB.

No, #0040fc is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #0040fc, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.