#2a2aef ≈ Ultramarine
#2a2aef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 16.47% green and 93.73% blue; printed in CMYK it uses 82.43% cyan, 82.43% magenta, 0% yellow and 6.27% black. Its hue angle is 240°, with 86.03% saturation and 55.1% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 7.85:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0838 |
Shades
#2a2aef mixed progressively with black.
Tints
#2a2aef mixed progressively with white.
Tones
#2a2aef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a2aef {
color: #2a2aef;
}
.bg-2a2aef {
background-color: #2a2aef;
color: #ffffff;
}
.border-2a2aef {
border: 2px solid #2a2aef;
}
:root {
--color-primary: #2a2aef;
--color-primary-rgb: 42 42 239;
--color-primary-hsl: 240 86% 55%;
}
.gradient-2a2aef {
background: linear-gradient(135deg, #2a2aef, #8d2aef);
}
.shadow-2a2aef {
box-shadow: 0 8px 24px rgb(42 42 239 / 0.35);
}
Ultramarine
#2a2aef rgb(42, 42, 239) hsl(240, 86%, 55%) Ultramarine
#efef2a rgb(239, 239, 42) hsl(60, 86%, 55%) Titanium Yellow
#ef2a2a rgb(239, 42, 42) hsl(0, 86%, 55%) Cinnabar
#2aef2a rgb(42, 239, 42) hsl(120, 86%, 55%) Lime