#306AEF

#306aef ≈ Royal Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#306aef is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 41.57% green and 93.73% blue; printed in CMYK it uses 79.92% cyan, 55.65% magenta, 0% yellow and 6.27% black. Its hue angle is 221.78°, with 85.65% saturation and 56.27% lightness in HSL. It is a cool color, often associated with trust, stability and focus. 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 4.74:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 1.87.

Description generated from the measured properties of this color.

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

Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #5f70b3 ≈ 0.001% of males
Protanopia #007cf4 ≈ 1.01% of males
Deuteranopia #006bec ≈ 1.27% of males
Tritanopia #008ba2 ≈ 0.0001% of males
Protanomaly #0075f2 ≈ 1.08% of males
Deuteranomaly #006aed ≈ 4.63% of males
Tritanomaly #007fc6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-306aef {
  color: #306aef;
}
Background
.bg-306aef {
  background-color: #306aef;
  color: #ffffff;
}
Border
.border-306aef {
  border: 2px solid #306aef;
}
CSS variables
:root {
  --color-primary: #306aef;
  --color-primary-rgb: 48 106 239;
  --color-primary-hsl: 222 86% 56%;
}
Gradient
.gradient-306aef {
  background: linear-gradient(135deg, #306aef, #5530ef);
}
Colored shadow
.shadow-306aef {
  box-shadow: 0 8px 24px rgb(48 106 239 / 0.35);
}

Royal Blue
#306aef  rgb(48, 106, 239)  hsl(222, 86%, 56%)  Royal Blue
#efb530  rgb(239, 181, 48)  hsl(42, 86%, 56%)  Meat Brown
#ef306a  rgb(239, 48, 106)  hsl(342, 86%, 56%)  Cerise
#6aef30  rgb(106, 239, 48)  hsl(102, 86%, 56%)  Lawn Green