#302FED

#302fed ≈ Han Purple

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

#302fed is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 18.43% green and 92.94% blue; printed in CMYK it uses 79.75% cyan, 80.17% magenta, 0% yellow and 7.06% black. Its hue angle is 240.32°, with 84.07% saturation and 55.69% 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 7.62:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.9.

Description generated from the measured properties of this color.

Conversions of #302fed 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.0878

Readable text 7.62:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #4848a8 ≈ 0.001% of males
Protanopia #005df2 ≈ 1.01% of males
Deuteranopia #0049ea ≈ 1.27% of males
Tritanopia #006c90 ≈ 0.0001% of males
Protanomaly #004ff0 ≈ 1.08% of males
Deuteranomaly #0040eb ≈ 4.63% of males
Tritanomaly #0059bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-302fed {
  color: #302fed;
}
Background
.bg-302fed {
  background-color: #302fed;
  color: #ffffff;
}
Border
.border-302fed {
  border: 2px solid #302fed;
}
CSS variables
:root {
  --color-primary: #302fed;
  --color-primary-rgb: 48 47 237;
  --color-primary-hsl: 240 84% 56%;
}
Gradient
.gradient-302fed {
  background: linear-gradient(135deg, #302fed, #8f2fed);
}
Colored shadow
.shadow-302fed {
  box-shadow: 0 8px 24px rgb(48 47 237 / 0.35);
}

Han Purple
#302fed  rgb(48, 47, 237)  hsl(240, 84%, 56%)  Han Purple
#eced2f  rgb(236, 237, 47)  hsl(60, 84%, 56%)  Titanium Yellow
#ed302f  rgb(237, 48, 47)  hsl(0, 84%, 56%)  Cinnabar
#2fed30  rgb(47, 237, 48)  hsl(120, 84%, 56%)  Lime