Maroon Colors  ·  Color Library

Palettes / Colors / #4245FF

#4245FF — Vivid Blue

#4245FF is a blue color we call Vivid Blue, closest to the named color RoyalBlue (#4169E1). It belongs to the blue family.

Color name

Closest CSS keyword: royalblue (#4169E1) — not an exact match. CSS royalblue gives you #4169E1, a different color; use #4245FF when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#4245FF is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #FFFC42; it also sits naturally between #42A4FF and #9E42FF. In the palettes below you can see it working alongside real color combinations from our collection.

#4245FF · RGB 66, 69, 255

Download PNG swatch SVG

Color values

HEX#4245FF
RGB66, 69, 255
HSL239°, 100%, 63%
HSV239°, 74%, 100%
CMYK74%, 73%, 0%, 0%
XYZ22.42, 12.63, 95.86
Yxy12.63, 0.1713, 0.0965
CIE-Lab42.21, 58.07, -91.33
Hunter Lab35.55, 53.14, -142.22

RGB & CMYK percentages

Red 26% · Green 27% · Blue 100%

Cyan 74% · Magenta 73% · Yellow 0% · Key 0%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #4245FF on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #4245FF on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #4245FF

.text { color: #4245FF; }
.background { background-color: #4245FF; }
.border { border: 3px solid #4245FF; }
.text-rgb { color: rgb(66, 69, 255); }
.text-hsl { color: hsl(239, 100%, 63%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #4245FF; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(66, 69, 255, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #4245FF; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(66, 69, 255, 0.8); }

HTML: <p style="color:#4245FF">Text here</p> · <div style="background-color:#4245FF">Div content here</div>

Shades of #4245FF

#2427FF#0509FF#0004E6#0003C7#0003AD#00028F#000270#000152#000133#000014

Tints of #4245FF

#5254FF#6669FF#7578FF#8587FF#999BFF#A8AAFF#B8B9FF#C7C8FF#DBDCFF#EBEBFF

Tones of #4245FF

#5052F2#5E60E4#6B6DD6#7879C9#8586BC#9394AE

Color harmonies

Complementary — #FFFC42:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.95:1 AA
Against black text3.53:1 AA large only

Best text color on #4245FF: #FFFFFF.

Semi-transparent (opacity) text on #4245FF

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #4245FF: ·

How #4245FF looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #4343D2Deuteranopia · #4343C7Tritanopia · #42AEA7

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind indigo 600 · #4F46E5Tailwind blue 600 · #2563EBTailwind indigo 500 · #6366F1

Palettes with a similar color

These palettes use a close neighbour of #4245FF rather than the exact color:

Crimson Garden
#2B091E · #20FA67 · #4347F8 · #CEFB3E
Smoky Petal
#1C0811 · #5CF83B · #3942FE · #20CAFB
Cosmic Twilight
#0D2724 · #F9CA1E · #4D44FE · #C52CF9
Amber Ruby Mirage
#270A17 · #B7FF14 · #4C46FA · #33FD9E
Silent Meadow
#0D2819 · #FE4F2A · #F947EC · #4F46FF
Palette Aee1fc
#AEE1FC · #60ABFB · #5170FD · #4636FC

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#4347F8#3942FE#4D44FE#4C46FA#4F46FF#4636FC#3D3BF3#503BFD#3A55FA#3636FD#5749FB#564EFC

Browse neighbouring colors

← #4245FE  ·  #424600 →

Frequently asked questions

What color is #4245FF?

#4245FF is Vivid Blue, a blue color (RGB 66, 69, 255). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #4245FF?

#4245FF is RGB 66, 69, 255 — HSL 239°, 100%, 63% — CMYK 74%, 73%, 0%, 0%.

What colors go with #4245FF?

Its complement is #FFFC42; analogous partners are #42A4FF and #9E42FF. It also appears in 6+ palettes in our collection.

Can I use #4245FF for text?

White text on #4245FF has a contrast ratio of 5.95:1 (passes WCAG AA); black text gives 3.53:1.