#204FF2

#204ff2 ≈ Majorelle Blue

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

#204ff2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.55% red, 30.98% green and 94.9% blue; printed in CMYK it uses 86.78% cyan, 67.36% magenta, 0% yellow and 5.1% black. Its hue angle is 226.57°, with 88.98% saturation and 53.73% 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.07:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.93.

Description generated from the measured properties of this color.

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

Readable text 6.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #505baf ≈ 0.001% of males
Protanopia #006cf7 ≈ 1.01% of males
Deuteranopia #0058ef ≈ 1.27% of males
Tritanopia #007c9a ≈ 0.0001% of males
Protanomaly #0062f5 ≈ 1.08% of males
Deuteranomaly #0055f0 ≈ 4.63% of males
Tritanomaly #006dc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-204ff2 {
  color: #204ff2;
}
Background
.bg-204ff2 {
  background-color: #204ff2;
  color: #ffffff;
}
Border
.border-204ff2 {
  border: 2px solid #204ff2;
}
CSS variables
:root {
  --color-primary: #204ff2;
  --color-primary-rgb: 32 79 242;
  --color-primary-hsl: 227 89% 54%;
}
Gradient
.gradient-204ff2 {
  background: linear-gradient(135deg, #204ff2, #5a20f2);
}
Colored shadow
.shadow-204ff2 {
  box-shadow: 0 8px 24px rgb(32 79 242 / 0.35);
}

Majorelle Blue
#204ff2  rgb(32, 79, 242)  hsl(227, 89%, 54%)  Majorelle Blue
#f2c320  rgb(242, 195, 32)  hsl(47, 89%, 54%)  Saffron
#f2204f  rgb(242, 32, 79)  hsl(347, 89%, 54%)  Folly
#4ff220  rgb(79, 242, 32)  hsl(107, 89%, 54%)  Neon Green