#1237EC

#1237ec ≈ Han Purple

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

#1237ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 7.06% red, 21.57% green and 92.55% blue; printed in CMYK it uses 92.37% cyan, 76.69% magenta, 0% yellow and 7.45% black. Its hue angle is 229.82°, with 85.83% saturation and 49.8% 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.54:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.87.

Description generated from the measured properties of this color.

Conversions of #1237ec 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.0892

Readable text 7.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #434aa8 ≈ 0.001% of males
Protanopia #005ff1 ≈ 1.01% of males
Deuteranopia #0049e9 ≈ 1.27% of males
Tritanopia #006f91 ≈ 0.0001% of males
Protanomaly #0052ef ≈ 1.08% of males
Deuteranomaly #0043ea ≈ 4.63% of males
Tritanomaly #005dbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1237ec {
  color: #1237ec;
}
Background
.bg-1237ec {
  background-color: #1237ec;
  color: #ffffff;
}
Border
.border-1237ec {
  border: 2px solid #1237ec;
}
CSS variables
:root {
  --color-primary: #1237ec;
  --color-primary-rgb: 18 55 236;
  --color-primary-hsl: 230 86% 50%;
}
Gradient
.gradient-1237ec {
  background: linear-gradient(135deg, #1237ec, #5a12ec);
}
Colored shadow
.shadow-1237ec {
  box-shadow: 0 8px 24px rgb(18 55 236 / 0.35);
}

Han Purple
#1237ec  rgb(18, 55, 236)  hsl(230, 86%, 50%)  Han Purple
#ecc712  rgb(236, 199, 18)  hsl(50, 86%, 50%)  Jonquil
#ec1237  rgb(236, 18, 55)  hsl(350, 86%, 50%)  Tractor Red
#37ec12  rgb(55, 236, 18)  hsl(110, 86%, 50%)  Neon Green