Maroon Colors  ·  Color Library

Palettes / Colors / #140DF2

#140DF2 — Vivid Blue

#140DF2 is a blue color we call Vivid Blue, closest to the named color Blue (#0000FF). It belongs to the blue family.

Color name

Closest CSS keyword: blue (#0000FF) — not an exact match. CSS blue gives you #0000FF, a different color; use #140DF2 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.

#140DF2 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 #EBF20D; it also sits naturally between #0D78F2 and #870DF2. In the palettes below you can see it working alongside real color combinations from our collection.

#140DF2 · RGB 20, 13, 242

Download PNG swatch SVG

Color values

HEX#140DF2
RGB20, 13, 242
HSL242°, 90%, 50%
HSV242°, 95%, 95%
CMYK92%, 95%, 0%, 5%
XYZ16.46, 6.85, 84.46
Yxy6.85, 0.1527, 0.0635
CIE-Lab31.46, 74.14, -101.94
Hunter Lab26.17, 68.96, -181.18

RGB & CMYK percentages

Red 8% · Green 5% · Blue 95%

Cyan 92% · Magenta 95% · Yellow 0% · Key 5%

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

Previews

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

CSS code for #140DF2

.text { color: #140DF2; }
.background { background-color: #140DF2; }
.border { border: 3px solid #140DF2; }
.text-rgb { color: rgb(20, 13, 242); }
.text-hsl { color: hsl(242, 90%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #140DF2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(20, 13, 242, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #140DF2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(20, 13, 242, 0.8); }

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

Shades of #140DF2

#120BDA#110AC7#0F09AE#0D089B#0B0783#09066B#070557#05033F#04022C#020113

Tints of #140DF2

#2C25F4#3F38F5#5651F6#6964F7#807CF8#9894F9#ABA8FA#C2C0FC#D5D3FD#ECECFE

Tones of #140DF2

#241DE2#332ED1#433EC1#514EB1#615EA1#706F90

Color harmonies

Complementary — #EBF20D:

Analogous:

Triadic:

Contrast & accessibility

Against white text8.86:1 AAA
Against black text2.37:1 Fails

Best text color on #140DF2: #FFFFFF.

Semi-transparent (opacity) text on #140DF2

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 #140DF2: ·

How #140DF2 looks with color blindness

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

Protanopia · #1111BBDeuteranopia · #1112ADTritanopia · #148F85

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 · #2563EBBootstrap primary · #0D6EFD

Palettes with a similar color

These palettes use a close neighbour of #140DF2 rather than the exact color:

Serene Monsoon
#07281D · #1416FB · #FA1FE0 · #F9D94B
Cosmic Canyon
#2D0916 · #2312FE · #5749FB · #53FC7D
Rustic Drift
#071C12 · #0E1FFC · #FC46A3 · #F99323
Rustic Harbor
#210B07 · #A222F7 · #61F718 · #1221FD
Cosmic Ruby Breeze
#330D15 · #DBF720 · #241AFC · #FAE119
Wild Ruby Monsoon
#827B10 · #E9C74D · #1B26E1 · #BCBDF2

Similar colors

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

#1416FB#2312FE#0E1FFC#1221FD#241AFC#1B26E1#1A2EFB#3514FC#2B28F8#2314D2#252CE8#2F26E7

Browse neighbouring colors

← #140DF1  ·  #140DF3 →

Frequently asked questions

What color is #140DF2?

#140DF2 is Vivid Blue, a blue color (RGB 20, 13, 242). Its closest standard named color is Blue.

What is the RGB and HSL of #140DF2?

#140DF2 is RGB 20, 13, 242 — HSL 242°, 90%, 50% — CMYK 92%, 95%, 0%, 5%.

What colors go with #140DF2?

Its complement is #EBF20D; analogous partners are #0D78F2 and #870DF2. It also appears in 6+ palettes in our collection.

Can I use #140DF2 for text?

White text on #140DF2 has a contrast ratio of 8.86:1 (passes WCAG AA); black text gives 2.37:1.