#303EF2

#303ef2 ≈ Han Purple

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#303ef2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.82% red, 24.31% green and 94.9% blue; printed in CMYK it uses 80.17% cyan, 74.38% magenta, 0% yellow and 5.1% black. Its hue angle is 235.67°, with 88.18% saturation and 56.86% 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 6.78:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 5.99.

Description generated from the measured properties of this color.

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

Readable text 6.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #4d51ad ≈ 0.001% of males
Protanopia #0065f7 ≈ 1.01% of males
Deuteranopia #0051ef ≈ 1.27% of males
Tritanopia #007496 ≈ 0.0001% of males
Protanomaly #0058f5 ≈ 1.08% of males
Deuteranomaly #004af0 ≈ 4.63% of males
Tritanomaly #0062c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-303ef2 {
  color: #303ef2;
}
Background
.bg-303ef2 {
  background-color: #303ef2;
  color: #ffffff;
}
Border
.border-303ef2 {
  border: 2px solid #303ef2;
}
CSS variables
:root {
  --color-primary: #303ef2;
  --color-primary-rgb: 48 62 242;
  --color-primary-hsl: 236 88% 57%;
}
Gradient
.gradient-303ef2 {
  background: linear-gradient(135deg, #303ef2, #8330f2);
}
Colored shadow
.shadow-303ef2 {
  box-shadow: 0 8px 24px rgb(48 62 242 / 0.35);
}

Han Purple
#303ef2  rgb(48, 62, 242)  hsl(236, 88%, 57%)  Han Purple
#f2e430  rgb(242, 228, 48)  hsl(56, 88%, 57%)  Dandelion
#f2303e  rgb(242, 48, 62)  hsl(356, 88%, 57%)  Tractor Red
#3ef230  rgb(62, 242, 48)  hsl(116, 88%, 57%)  Neon Green