#045FEF

#045fef ≈ Royal Blue

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

#045fef 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 93.73% blue; printed in CMYK it uses 98.33% cyan, 60.25% magenta, 0% yellow and 6.27% black. Its hue angle is 216.77°, with 96.71% saturation and 47.65% 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.4:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 3.94.

Description generated from the measured properties of this color.

Conversions of #045fef 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.1444

Readable text 5.4:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.89:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #5366b0 ≈ 0.001% of males
Protanopia #0074f4 ≈ 1.01% of males
Deuteranopia #0060ec ≈ 1.27% of males
Tritanopia #00859e ≈ 0.0001% of males
Protanomaly #006cf2 ≈ 1.08% of males
Deuteranomaly #0060ed ≈ 4.63% of males
Tritanomaly #0077c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Blue
#045fef  rgb(4, 95, 239)  hsl(217, 97%, 48%)  Royal Blue
#ef9404  rgb(239, 148, 4)  hsl(37, 97%, 48%)  Carrot Orange
#ef045f  rgb(239, 4, 95)  hsl(337, 97%, 48%)  Raspberry
#5fef04  rgb(95, 239, 4)  hsl(97, 97%, 48%)  Lawn Green