#1F28FA

#1f28fa ≈ Ultramarine

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

#1f28fa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.16% red, 15.69% green and 98.04% blue; printed in CMYK it uses 87.6% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 237.53°, with 95.63% saturation and 55.1% 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.66:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.32.

Description generated from the measured properties of this color.

Conversions of #1f28fa 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.0871

Readable text 7.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #4446b0 ≈ 0.001% of males
Protanopia #005eff ≈ 1.01% of males
Deuteranopia #0047f7 ≈ 1.27% of males
Tritanopia #006f96 ≈ 0.0001% of males
Protanomaly #004efd ≈ 1.08% of males
Deuteranomaly #003df8 ≈ 4.63% of males
Tritanomaly #005bc6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f28fa {
  color: #1f28fa;
}
Background
.bg-1f28fa {
  background-color: #1f28fa;
  color: #ffffff;
}
Border
.border-1f28fa {
  border: 2px solid #1f28fa;
}
CSS variables
:root {
  --color-primary: #1f28fa;
  --color-primary-rgb: 31 40 250;
  --color-primary-hsl: 238 96% 55%;
}
Gradient
.gradient-1f28fa {
  background: linear-gradient(135deg, #1f28fa, #831ffa);
}
Colored shadow
.shadow-1f28fa {
  box-shadow: 0 8px 24px rgb(31 40 250 / 0.35);
}

Ultramarine
#1f28fa  rgb(31, 40, 250)  hsl(238, 96%, 55%)  Ultramarine
#faf11f  rgb(250, 241, 31)  hsl(58, 96%, 55%)  Cadmium Yellow
#fa1f28  rgb(250, 31, 40)  hsl(358, 96%, 55%)  Tractor Red
#28fa1f  rgb(40, 250, 31)  hsl(118, 96%, 55%)  Lime