#045FE2

#045fe2 ≈ Royal Blue

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

#045fe2 is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 37.25% green and 88.63% blue; printed in CMYK it uses 98.23% cyan, 57.96% magenta, 0% yellow and 11.37% black. Its hue angle is 215.41°, 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.61:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.33.

Description generated from the measured properties of this color.

Conversions of #045fe2 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.137

Readable text 5.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.74:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #5164a7 ≈ 0.001% of males
Protanopia #0071e6 ≈ 1.01% of males
Deuteranopia #005fe0 ≈ 1.27% of males
Tritanopia #008197 ≈ 0.0001% of males
Protanomaly #006ae5 ≈ 1.08% of males
Deuteranomaly #005fe1 ≈ 4.63% of males
Tritanomaly #0075ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#045fe2  rgb(4, 95, 226)  hsl(215, 97%, 45%)  Royal Blue
#e28704  rgb(226, 135, 4)  hsl(35, 97%, 45%)  Fulvous
#e2045f  rgb(226, 4, 95)  hsl(335, 97%, 45%)  Ruby
#5fe204  rgb(95, 226, 4)  hsl(95, 97%, 45%)  Lawn Green