#0102ca ≈ Medium Blue
#0102ca is a color from the blue family, with low lightness and vivid saturation. In the RGB model it is made of 0.39% red, 0.78% green and 79.22% blue; printed in CMYK it uses 99.5% cyan, 99.01% magenta, 0% yellow and 20.78% black. Its hue angle is 239.7°, with 99.01% saturation and 39.8% 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 11.27:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 0.35.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0000cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0431 |
Shades
#0102ca mixed progressively with black.
Tints
#0102ca mixed progressively with white.
Tones
#0102ca mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0102ca {
color: #0102ca;
}
.bg-0102ca {
background-color: #0102ca;
color: #ffffff;
}
.border-0102ca {
border: 2px solid #0102ca;
}
:root {
--color-primary: #0102ca;
--color-primary-rgb: 1 2 202;
--color-primary-hsl: 240 99% 40%;
}
.gradient-0102ca {
background: linear-gradient(135deg, #0102ca, #6401ca);
}
.shadow-0102ca {
box-shadow: 0 8px 24px rgb(1 2 202 / 0.35);
}
Medium Blue
#0102ca rgb(1, 2, 202) hsl(240, 99%, 40%) Medium Blue
#cac901 rgb(202, 201, 1) hsl(60, 99%, 40%) Citrine
#ca0102 rgb(202, 1, 2) hsl(360, 99%, 40%) Rosso Corsa
#02ca01 rgb(2, 202, 1) hsl(120, 99%, 40%) Lime Green