#045FE7

#045fe7 ≈ Royal Blue

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

#045fe7 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 90.59% blue; printed in CMYK it uses 98.27% cyan, 58.87% magenta, 0% yellow and 9.41% black. Its hue angle is 215.95°, with 96.6% saturation and 46.08% 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.53:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.1.

Description generated from the measured properties of this color.

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

Readable text 5.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.8:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #5265aa ≈ 0.001% of males
Protanopia #0072ec ≈ 1.01% of males
Deuteranopia #005fe4 ≈ 1.27% of males
Tritanopia #00829a ≈ 0.0001% of males
Protanomaly #006bea ≈ 1.08% of males
Deuteranomaly #005fe5 ≈ 4.63% of males
Tritanomaly #0076be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#045fe7  rgb(4, 95, 231)  hsl(216, 97%, 46%)  Royal Blue
#e78c04  rgb(231, 140, 4)  hsl(36, 97%, 46%)  Carrot Orange
#e7045f  rgb(231, 4, 95)  hsl(336, 97%, 46%)  Raspberry
#5fe704  rgb(95, 231, 4)  hsl(96, 97%, 46%)  Lawn Green