#0252FF

#0252ff ≈ Ultramarine Blue

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

#0252ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 32.16% green and 100% blue; printed in CMYK it uses 99.22% cyan, 67.84% magenta, 0% yellow and 0% black. Its hue angle is 221.03°, with 100% saturation and 50.39% 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 5.75:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 6.17.

Description generated from the measured properties of this color.

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

Readable text 5.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.65:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #505fb8 ≈ 0.001% of males
Protanopia #0071ff ≈ 1.01% of males
Deuteranopia #005bfc ≈ 1.27% of males
Tritanopia #0083a2 ≈ 0.0001% of males
Protanomaly #0066ff ≈ 1.08% of males
Deuteranomaly #0057fd ≈ 4.63% of males
Tritanomaly #0072ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0252ff {
  color: #0252ff;
}
Background
.bg-0252ff {
  background-color: #0252ff;
  color: #ffffff;
}
Border
.border-0252ff {
  border: 2px solid #0252ff;
}
CSS variables
:root {
  --color-primary: #0252ff;
  --color-primary-rgb: 2 82 255;
  --color-primary-hsl: 221 100% 50%;
}
Gradient
.gradient-0252ff {
  background: linear-gradient(135deg, #0252ff, #3102ff);
}
Colored shadow
.shadow-0252ff {
  box-shadow: 0 8px 24px rgb(2 82 255 / 0.35);
}

Ultramarine Blue
#0252ff  rgb(2, 82, 255)  hsl(221, 100%, 50%)  Ultramarine Blue
#ffaf02  rgb(255, 175, 2)  hsl(41, 100%, 50%)  Orange
#ff0252  rgb(255, 2, 82)  hsl(341, 100%, 50%)  Folly
#52ff02  rgb(82, 255, 2)  hsl(101, 100%, 50%)  Harlequin