#0338FF

#0338ff ≈ Han Purple

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

#0338ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.18% red, 21.96% green and 100% blue; printed in CMYK it uses 98.82% cyan, 78.04% magenta, 0% yellow and 0% black. Its hue angle is 227.38°, with 100% saturation and 50.59% 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.97:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 5.58.

Description generated from the measured properties of this color.

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

Readable text 6.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #464eb5 ≈ 0.001% of males
Protanopia #0065ff ≈ 1.01% of males
Deuteranopia #004dfc ≈ 1.27% of males
Tritanopia #00779c ≈ 0.0001% of males
Protanomaly #0056ff ≈ 1.08% of males
Deuteranomaly #0046fd ≈ 4.63% of males
Tritanomaly #0064cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0338ff {
  color: #0338ff;
}
Background
.bg-0338ff {
  background-color: #0338ff;
  color: #ffffff;
}
Border
.border-0338ff {
  border: 2px solid #0338ff;
}
CSS variables
:root {
  --color-primary: #0338ff;
  --color-primary-rgb: 3 56 255;
  --color-primary-hsl: 227 100% 51%;
}
Gradient
.gradient-0338ff {
  background: linear-gradient(135deg, #0338ff, #4c03ff);
}
Colored shadow
.shadow-0338ff {
  box-shadow: 0 8px 24px rgb(3 56 255 / 0.35);
}

Han Purple
#0338ff  rgb(3, 56, 255)  hsl(227, 100%, 51%)  Han Purple
#ffca03  rgb(255, 202, 3)  hsl(47, 100%, 51%)  Sunglow
#ff0338  rgb(255, 3, 56)  hsl(347, 100%, 51%)  Tractor Red
#38ff03  rgb(56, 255, 3)  hsl(107, 100%, 51%)  Harlequin