#045CE2

#045ce2 ≈ Royal Blue

  • azure
  • Lightness: medium
  • Saturation: vivid
  • Cool

#045ce2 is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 36.08% green and 88.63% blue; printed in CMYK it uses 98.23% cyan, 59.29% magenta, 0% yellow and 11.37% black. Its hue angle is 216.22°, with 96.52% saturation and 45.1% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. 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 5.78:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.96.

Description generated from the measured properties of this color.

Conversions of #045ce2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0066cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1317

Readable text 5.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.63:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #5062a6 ≈ 0.001% of males
Protanopia #006fe6 ≈ 1.01% of males
Deuteranopia #005ddf ≈ 1.27% of males
Tritanopia #007f96 ≈ 0.0001% of males
Protanomaly #0068e5 ≈ 1.08% of males
Deuteranomaly #005ce0 ≈ 4.63% of males
Tritanomaly #0073b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-045ce2 {
  color: #045ce2;
}
Background
.bg-045ce2 {
  background-color: #045ce2;
  color: #ffffff;
}
Border
.border-045ce2 {
  border: 2px solid #045ce2;
}
CSS variables
:root {
  --color-primary: #045ce2;
  --color-primary-rgb: 4 92 226;
  --color-primary-hsl: 216 97% 45%;
}
Gradient
.gradient-045ce2 {
  background: linear-gradient(135deg, #045ce2, #1b04e2);
}
Colored shadow
.shadow-045ce2 {
  box-shadow: 0 8px 24px rgb(4 92 226 / 0.35);
}

Royal Blue
#045ce2  rgb(4, 92, 226)  hsl(216, 97%, 45%)  Royal Blue
#e28a04  rgb(226, 138, 4)  hsl(36, 97%, 45%)  Fulvous
#e2045c  rgb(226, 4, 92)  hsl(336, 97%, 45%)  Raspberry
#5ce204  rgb(92, 226, 4)  hsl(96, 97%, 45%)  Lawn Green