Ultramarine Blue (#4166F5)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 4.73:1 — vs black: 4.44:1
Color values
-
HEX
#4166F5 -
RGB
rgb(65, 102, 245) -
HSL
hsl(227, 73%, 96%) -
CMYK
cmyk( 73.47, 58.37, 0, 3.92 ) -
Websafe
#3366FF
Tags
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #4166F5 based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#4166F5
Base
#F5D041
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#4166F5
Base
#41C0F5
#7641F5
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#4166F5
Base
#F54166
#66F541
Two colors flanking the complement — high contrast with less tension than full complementary.
#4166F5
Base
#F57641
#C0F541
Four colors at 90° intervals — rich variety, best when one color dominates.
#4166F5
Base
#F541C0
#F5D041
#41F576
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#4166F5
Base
#082595
#0C37DE
#1A47F3
#6885F7
#8AA1F9
#D2DBFD
Darker shades and lighter tints of Ultramarine Blue, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#010618
#04134E
#072184
#0A2EBA
#0D3BF0
#4166F5
Base
#6281F7
#839BF8
#A4B6FA
#C6D1FC
#E7EBFE
Ready-to-use code snippets for #4166F5. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #4166F5;
}
/* Text */
.element {
color: #4166F5;
}
/* Border */
.element {
border: 1px solid #4166F5;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#4166F5,
#FCF9EE
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#4166F5,
#FCF9EE
);
}
// SCSS variable
$ultramarine-blue: #4166F5;
// With RGB channels (useful for rgba() usage)
$ultramarine-blue-r: 65;
$ultramarine-blue-g: 102;
$ultramarine-blue-b: 245;
// Usage
.element {
background-color: $ultramarine-blue;
color: rgba($ultramarine-blue-r, $ultramarine-blue-g, $ultramarine-blue-b, 0.8);
}
How Ultramarine Blue appears to people with different types of color vision deficiency.
#4166F5
How the color appears with full color vision.
#5D5DF5
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#6363F5
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#008484
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#737373
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.