#335AF6

#335af6 ≈ Ultramarine Blue

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

#335af6 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20% red, 35.29% green and 96.47% blue; printed in CMYK it uses 79.27% cyan, 63.41% magenta, 0% yellow and 3.53% black. Its hue angle is 228°, with 91.55% saturation and 58.24% 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.34:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.78.

Description generated from the measured properties of this color.

Conversions of #335af6 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.1467

Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #5a65b4 ≈ 0.001% of males
Protanopia #0074fb ≈ 1.01% of males
Deuteranopia #0062f3 ≈ 1.27% of males
Tritanopia #0083a0 ≈ 0.0001% of males
Protanomaly #006bf9 ≈ 1.08% of males
Deuteranomaly #005ff4 ≈ 4.63% of males
Tritanomaly #0075c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335af6 {
  color: #335af6;
}
Background
.bg-335af6 {
  background-color: #335af6;
  color: #ffffff;
}
Border
.border-335af6 {
  border: 2px solid #335af6;
}
CSS variables
:root {
  --color-primary: #335af6;
  --color-primary-rgb: 51 90 246;
  --color-primary-hsl: 228 92% 58%;
}
Gradient
.gradient-335af6 {
  background: linear-gradient(135deg, #335af6, #6e33f6);
}
Colored shadow
.shadow-335af6 {
  box-shadow: 0 8px 24px rgb(51 90 246 / 0.35);
}

Ultramarine Blue
#335af6  rgb(51, 90, 246)  hsl(228, 92%, 58%)  Ultramarine Blue
#f6cf33  rgb(246, 207, 51)  hsl(48, 92%, 58%)  Jonquil
#f6335a  rgb(246, 51, 90)  hsl(348, 92%, 58%)  Folly
#5af633  rgb(90, 246, 51)  hsl(108, 92%, 58%)  Neon Green