#2338EC

#2338ec ≈ Han Purple

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

#2338ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 13.73% red, 21.96% green and 92.55% blue; printed in CMYK it uses 85.17% cyan, 76.27% magenta, 0% yellow and 7.45% black. Its hue angle is 233.73°, with 84.1% saturation and 53.14% 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.37:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.56.

Description generated from the measured properties of this color.

Conversions of #2338ec 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.0924

Readable text 7.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #474ba8 ≈ 0.001% of males
Protanopia #0060f1 ≈ 1.01% of males
Deuteranopia #004be9 ≈ 1.27% of males
Tritanopia #006f91 ≈ 0.0001% of males
Protanomaly #0053ef ≈ 1.08% of males
Deuteranomaly #0044ea ≈ 4.63% of males
Tritanomaly #005ebc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2338ec {
  color: #2338ec;
}
Background
.bg-2338ec {
  background-color: #2338ec;
  color: #ffffff;
}
Border
.border-2338ec {
  border: 2px solid #2338ec;
}
CSS variables
:root {
  --color-primary: #2338ec;
  --color-primary-rgb: 35 56 236;
  --color-primary-hsl: 234 84% 53%;
}
Gradient
.gradient-2338ec {
  background: linear-gradient(135deg, #2338ec, #7323ec);
}
Colored shadow
.shadow-2338ec {
  box-shadow: 0 8px 24px rgb(35 56 236 / 0.35);
}

Han Purple
#2338ec  rgb(35, 56, 236)  hsl(234, 84%, 53%)  Han Purple
#ecd723  rgb(236, 215, 35)  hsl(54, 84%, 53%)  Citrine
#ec2338  rgb(236, 35, 56)  hsl(354, 84%, 53%)  Tractor Red
#38ec23  rgb(56, 236, 35)  hsl(114, 84%, 53%)  Lime