#04287c ≈ Imperial Blue
#04287c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 15.69% green and 48.63% blue; printed in CMYK it uses 96.77% cyan, 67.74% magenta, 0% yellow and 51.37% black. Its hue angle is 222°, with 93.75% saturation and 25.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 luxury branding. White text on this color reaches a contrast ratio of 13.13:1 (WCAG AAA). The closest named color is Imperial Blue (#002395), ΔE 4.56.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.03 |
Shades
#04287c mixed progressively with black.
Tints
#04287c mixed progressively with white.
Tones
#04287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-04287c {
color: #04287c;
}
.bg-04287c {
background-color: #04287c;
color: #ffffff;
}
.border-04287c {
border: 2px solid #04287c;
}
:root {
--color-primary: #04287c;
--color-primary-rgb: 4 40 124;
--color-primary-hsl: 222 94% 25%;
}
.gradient-04287c {
background: linear-gradient(135deg, #04287c, #1c047c);
}
.shadow-04287c {
box-shadow: 0 8px 24px rgb(4 40 124 / 0.35);
}
Imperial Blue
#04287c rgb(4, 40, 124) hsl(222, 94%, 25%) Imperial Blue
#7c5804 rgb(124, 88, 4) hsl(42, 94%, 25%) Field Drab
#7c0428 rgb(124, 4, 40) hsl(342, 94%, 25%) Claret
#287c04 rgb(40, 124, 4) hsl(102, 94%, 25%) Green