Color
#5A6C8A
Muted cool blue. Nearest reference color: Dark electric blue.
RGB
0–255CMYK
0–100%RGB describes how #5A6C8A is represented with light on digital screens. This color combines red 90, green 108 and blue 138.
CMYK describes the same color using the four components commonly used in printing: cyan 34.78%, magenta 21.74%, yellow 0% and black 45.88%.
HSL values
In the HSL color model, #5A6C8A has a hue of 217.5°, 21.05% saturation and 44.71% lightness. The sliders below show where this color sits across each of these three dimensions.
Color insight
#5A6C8A is a medium, cool blue with muted chroma.
- Temperature
- Cool
- Lightness
- Medium
- Chroma
- Muted
Color formats
Copy #5A6C8A in a format ready to use in CSS, design tools or other applications.
#5A6C8A
rgb(90, 108, 138)
hsl(217.5 21.05% 44.71%)
oklch(0.528352 0.052263 260.5163)
--color: #5A6C8A;
Tints of #5A6C8A
Tints are lighter variations of #5A6C8A. They keep the character of the original color while moving progressively toward a lighter appearance.
Shades of #5A6C8A
Shades are darker variations of #5A6C8A. Moving toward black increases visual depth while preserving the underlying hue of the color.
Tones of #5A6C8A
Tones reduce the chroma of #5A6C8A, producing quieter and more muted variations without simply making the color lighter or darker.
Tonal range of #5A6C8A
A continuous light-to-dark scale places #5A6C8A between its lighter tints and deeper shades.
CSS color scale
Use this tonal range as reusable CSS custom properties.
:root {
--color-100: #E6EFFF;
--color-200: #B9CDEF;
--color-300: #98ACCC;
--color-400: #788BAB;
--color-500: #5A6C8A;
--color-600: #3E4F6C;
--color-700: #24344F;
--color-800: #0C1A33;
--color-900: #000419;
}
Colors that go with #5A6C8A
Color harmonies for #5A6C8A 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 #5A6C8A
These gradients show how #5A6C8A 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, #5A6C8A, #818FA7, #A9B3C4, #D3D8E1, #FFFFFF);
Toward black
A dark gradient that moves from the original color toward black.
background: linear-gradient(90deg, #5A6C8A, #3B475C, #1E2532, #05080D, #000000);
Text contrast and accessibility
Contrast determines how clearly text can be distinguished from #5A6C8A. The values below compare white and black text using WCAG contrast ratios.
Recommended text color: #FFFFFF . Relative luminance: 0.1473 .
Accessible CSS
Use the recommended text color with #5A6C8A as the background.
background-color: #5A6C8A;
color: #FFFFFF;
Using #5A6C8A in design
See how #5A6C8A 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.
#5A6C8A used as a full background with its recommended text color.
Use #5A6C8A to emphasize selected interface elements without filling the entire surface.
Colors similar to #5A6C8A
These nearby colors are generated from perceptual variations of #5A6C8A, including changes in lightness, chroma and hue.
Color vision simulation
The simulations below show mathematical approximations of how #5A6C8A 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, #5A6C8A can also be represented in perceptual and device-independent color spaces used in color science and modern design tools.
XYZ
- X
- 14.1651
- Y
- 14.7332
- Z
- 26.1373
CIELAB
- L*
- 45.2665
- a*
- 1.0124
- b*
- -18.6658
OKLab
- L
- 0.528352
- a
- -0.008611
- b
- -0.051548
OKLCH
- L
- 0.528352
- C
- 0.052263
- H
- 260.5163°