#335CEB

#335ceb ≈ Ultramarine Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#335ceb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 36.08% green and 92.16% blue; printed in CMYK it uses 78.3% cyan, 60.85% magenta, 0% yellow and 7.84% black. Its hue angle is 226.63°, with 82.14% saturation and 56.08% 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.42:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.72.

Description generated from the measured properties of this color.

Conversions of #335ceb 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.1436

Readable text 5.42:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.87:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #5965ad ≈ 0.001% of males
Protanopia #0073f0 ≈ 1.01% of males
Deuteranopia #0061e8 ≈ 1.27% of males
Tritanopia #00819b ≈ 0.0001% of males
Protanomaly #006aee ≈ 1.08% of males
Deuteranomaly #005fe9 ≈ 4.63% of males
Tritanomaly #0074c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-335ceb {
  color: #335ceb;
}
Background
.bg-335ceb {
  background-color: #335ceb;
  color: #ffffff;
}
Border
.border-335ceb {
  border: 2px solid #335ceb;
}
CSS variables
:root {
  --color-primary: #335ceb;
  --color-primary-rgb: 51 92 235;
  --color-primary-hsl: 227 82% 56%;
}
Gradient
.gradient-335ceb {
  background: linear-gradient(135deg, #335ceb, #6633eb);
}
Colored shadow
.shadow-335ceb {
  box-shadow: 0 8px 24px rgb(51 92 235 / 0.35);
}

Ultramarine Blue
#335ceb  rgb(51, 92, 235)  hsl(227, 82%, 56%)  Ultramarine Blue
#ebc233  rgb(235, 194, 51)  hsl(47, 82%, 56%)  Saffron
#eb335c  rgb(235, 51, 92)  hsl(347, 82%, 56%)  Amaranth
#5ceb33  rgb(92, 235, 51)  hsl(107, 82%, 56%)  Neon Green