#302DFF

#302dff ≈ Han Purple

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

#302dff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.82% red, 17.65% green and 100% blue; printed in CMYK it uses 81.18% cyan, 82.35% magenta, 0% yellow and 0% black. Its hue angle is 240.86°, with 100% saturation and 58.82% 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.13:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.25.

Description generated from the measured properties of this color.

Conversions of #302dff 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.0973

Readable text 7.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #4b4ab4 ≈ 0.001% of males
Protanopia #0062ff ≈ 1.01% of males
Deuteranopia #004dfc ≈ 1.27% of males
Tritanopia #00729a ≈ 0.0001% of males
Protanomaly #0052ff ≈ 1.08% of males
Deuteranomaly #0042fd ≈ 4.63% of males
Tritanomaly #005eca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-302dff {
  color: #302dff;
}
Background
.bg-302dff {
  background-color: #302dff;
  color: #ffffff;
}
Border
.border-302dff {
  border: 2px solid #302dff;
}
CSS variables
:root {
  --color-primary: #302dff;
  --color-primary-rgb: 48 45 255;
  --color-primary-hsl: 241 100% 59%;
}
Gradient
.gradient-302dff {
  background: linear-gradient(135deg, #302dff, #992dff);
}
Colored shadow
.shadow-302dff {
  box-shadow: 0 8px 24px rgb(48 45 255 / 0.35);
}

Han Purple
#302dff  rgb(48, 45, 255)  hsl(241, 100%, 59%)  Han Purple
#fcff2d  rgb(252, 255, 45)  hsl(61, 100%, 59%)  Daffodil
#ff302d  rgb(255, 48, 45)  hsl(1, 100%, 59%)  Tractor Red
#2dff30  rgb(45, 255, 48)  hsl(121, 100%, 59%)  Lime