#0F5AFC

#0f5afc ≈ Ultramarine Blue

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

#0f5afc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 5.88% red, 35.29% green and 98.82% blue; printed in CMYK it uses 94.05% cyan, 64.29% magenta, 0% yellow and 1.18% black. Its hue angle is 221.01°, with 97.53% saturation and 52.35% 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.4:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 4.12.

Description generated from the measured properties of this color.

Conversions of #0f5afc 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.1444

Readable text 5.4:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.89:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #5464b7 ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #0060f9 ≈ 1.27% of males
Tritanopia #0086a3 ≈ 0.0001% of males
Protanomaly #006bff ≈ 1.08% of males
Deuteranomaly #005dfa ≈ 4.63% of males
Tritanomaly #0077cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0f5afc {
  color: #0f5afc;
}
Background
.bg-0f5afc {
  background-color: #0f5afc;
  color: #ffffff;
}
Border
.border-0f5afc {
  border: 2px solid #0f5afc;
}
CSS variables
:root {
  --color-primary: #0f5afc;
  --color-primary-rgb: 15 90 252;
  --color-primary-hsl: 221 98% 52%;
}
Gradient
.gradient-0f5afc {
  background: linear-gradient(135deg, #0f5afc, #3a0ffc);
}
Colored shadow
.shadow-0f5afc {
  box-shadow: 0 8px 24px rgb(15 90 252 / 0.35);
}

Ultramarine Blue
#0f5afc  rgb(15, 90, 252)  hsl(221, 98%, 52%)  Ultramarine Blue
#fcb10f  rgb(252, 177, 15)  hsl(41, 98%, 52%)  Orange
#fc0f5a  rgb(252, 15, 90)  hsl(341, 98%, 52%)  Folly
#5afc0f  rgb(90, 252, 15)  hsl(101, 98%, 52%)  Harlequin