Color
#5E95E7
Cool blue. Nearest reference color: Cornflower blue.
RGB
0–255CMYK
0–100%RGB describes how #5E95E7 is represented with light on digital screens. This color combines red 94, green 149 and blue 231.
CMYK describes the same color using the four components commonly used in printing: cyan 59.31%, magenta 35.5%, yellow 0% and black 9.41%.
HSL values
In the HSL color model, #5E95E7 has a hue of 215.91°, 74.05% saturation and 63.73% lightness. The sliders below show where this color sits across each of these three dimensions.
Color insight
#5E95E7 is a medium, cool blue with moderate chroma.
- Temperature
- Cool
- Lightness
- Medium
- Chroma
- Moderate
Color formats
Copy #5E95E7 in a format ready to use in CSS, design tools or other applications.
#5E95E7
rgb(94, 149, 231)
hsl(215.91 74.05% 63.73%)
oklch(0.668353 0.135779 258.1806)
--color: #5E95E7;
Tints of #5E95E7
Tints are lighter variations of #5E95E7. They keep the character of the original color while moving progressively toward a lighter appearance.
Shades of #5E95E7
Shades are darker variations of #5E95E7. Moving toward black increases visual depth while preserving the underlying hue of the color.
Tones of #5E95E7
Tones reduce the chroma of #5E95E7, producing quieter and more muted variations without simply making the color lighter or darker.
Tonal range of #5E95E7
A continuous light-to-dark scale places #5E95E7 between its lighter tints and deeper shades.
CSS color scale
Use this tonal range as reusable CSS custom properties.
:root {
--color-100: #E5EFFF;
--color-200: #C0D9FF;
--color-300: #9AC3FF;
--color-400: #73ABFF;
--color-500: #5E95E7;
--color-600: #366BB9;
--color-700: #0B428D;
--color-800: #002050;
--color-900: #000516;
}
Colors that go with #5E95E7
Color harmonies for #5E95E7 are generated by rotating its hue in the OKLCH color space while preserving its lightness and chroma. This creates classic complementary, analogous, triadic and other hue relationships with more consistent perceptual balance.
Complementary
Opposite on the color wheel, creating the strongest direct hue contrast.
Triadic
Three evenly spaced hues that create a broader, balanced color relationship.
Split complementary
Two hues around the complementary color, providing contrast with more variation.
CSS gradients with #5E95E7
These gradients show how #5E95E7 moves toward white, black and its complementary color. Each gradient includes ready-to-use CSS that can be copied directly into a project.
Toward white
A light gradient that moves from the original color toward white.
background: linear-gradient(90deg, #5E95E7, #86B0EF, #AECBF5, #D6E5FB, #FFFFFF);
Toward black
A dark gradient that moves from the original color toward black.
background: linear-gradient(90deg, #5E95E7, #3D649D, #1F3759, #060F1D, #000000);
Text contrast and accessibility
Contrast determines how clearly text can be distinguished from #5E95E7. The values below compare white and black text using WCAG contrast ratios.
Recommended text color: #000000 . Relative luminance: 0.2964 .
Accessible CSS
Use the recommended text color with #5E95E7 as the background.
background-color: #5E95E7;
color: #000000;
Using #5E95E7 in design
See how #5E95E7 works in a simple interface. The examples below use the color as a background, accent and interface element, with text chosen from its accessibility result.
#5E95E7 used as a full background with its recommended text color.
Use #5E95E7 to emphasize selected interface elements without filling the entire surface.
Colors similar to #5E95E7
These nearby colors are generated from perceptual variations of #5E95E7, including changes in lightness, chroma and hue.
Color vision simulation
The simulations below show mathematical approximations of how #5E95E7 may shift under three forms of color vision deficiency. They are simulations, not a diagnosis or an exact representation of any individual person's vision.
Simulation based on the model by Machado, Oliveira and Fernandes (2009), published in IEEE Transactions on Visualization and Computer Graphics. DOI: 10.1109/TVCG.2009.113.
Advanced color values
Beyond RGB, CMYK and HSL, #5E95E7 can also be represented in perceptual and device-independent color spaces used in color science and modern design tools.
XYZ
- X
- 29.7823
- Y
- 29.6415
- Z
- 79.7377
CIELAB
- L*
- 61.3436
- a*
- 6.2291
- b*
- -46.9221
OKLab
- L
- 0.668353
- a
- -0.027811
- b
- -0.1329
OKLCH
- L
- 0.668353
- C
- 0.135779
- H
- 258.1806°