#0366F2

#0366f2 ≈ Royal Blue

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

#0366f2 is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 1.18% red, 40% green and 94.9% blue; printed in CMYK it uses 98.76% cyan, 57.85% magenta, 0% yellow and 5.1% black. Its hue angle is 215.15°, with 97.55% saturation and 48.04% 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.02:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 3.

Description generated from the measured properties of this color.

Conversions of #0366f2 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.1593

Readable text 5.02:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #576cb3 ≈ 0.001% of males
Protanopia #0079f7 ≈ 1.01% of males
Deuteranopia #0066ef ≈ 1.27% of males
Tritanopia #008aa2 ≈ 0.0001% of males
Protanomaly #0072f5 ≈ 1.08% of males
Deuteranomaly #0066f0 ≈ 4.63% of males
Tritanomaly #007dc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0366f2 {
  color: #0366f2;
}
Background
.bg-0366f2 {
  background-color: #0366f2;
  color: #ffffff;
}
Border
.border-0366f2 {
  border: 2px solid #0366f2;
}
CSS variables
:root {
  --color-primary: #0366f2;
  --color-primary-rgb: 3 102 242;
  --color-primary-hsl: 215 98% 48%;
}
Gradient
.gradient-0366f2 {
  background: linear-gradient(135deg, #0366f2, #1803f2);
}
Colored shadow
.shadow-0366f2 {
  box-shadow: 0 8px 24px rgb(3 102 242 / 0.35);
}

Royal Blue
#0366f2  rgb(3, 102, 242)  hsl(215, 98%, 48%)  Royal Blue
#f28f03  rgb(242, 143, 3)  hsl(35, 98%, 48%)  Carrot Orange
#f20366  rgb(242, 3, 102)  hsl(335, 98%, 48%)  Razzmatazz
#66f203  rgb(102, 242, 3)  hsl(95, 98%, 48%)  Lawn Green