#2256FF

#2256ff ≈ Ultramarine Blue

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

#2256ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 13.33% red, 33.73% green and 100% blue; printed in CMYK it uses 86.67% cyan, 66.27% magenta, 0% yellow and 0% black. Its hue angle is 225.88°, with 100% saturation and 56.67% 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.46:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 4.91.

Description generated from the measured properties of this color.

Conversions of #2256ff 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.1422

Readable text 5.46:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.84:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #5562b9 ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #005ffc ≈ 1.27% of males
Tritanopia #0085a3 ≈ 0.0001% of males
Protanomaly #0069ff ≈ 1.08% of males
Deuteranomaly #005cfd ≈ 4.63% of males
Tritanomaly #0075cf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2256ff {
  color: #2256ff;
}
Background
.bg-2256ff {
  background-color: #2256ff;
  color: #ffffff;
}
Border
.border-2256ff {
  border: 2px solid #2256ff;
}
CSS variables
:root {
  --color-primary: #2256ff;
  --color-primary-rgb: 34 86 255;
  --color-primary-hsl: 226 100% 57%;
}
Gradient
.gradient-2256ff {
  background: linear-gradient(135deg, #2256ff, #5d22ff);
}
Colored shadow
.shadow-2256ff {
  box-shadow: 0 8px 24px rgb(34 86 255 / 0.35);
}

Ultramarine Blue
#2256ff  rgb(34, 86, 255)  hsl(226, 100%, 57%)  Ultramarine Blue
#ffcb22  rgb(255, 203, 34)  hsl(46, 100%, 57%)  Sunglow
#ff2256  rgb(255, 34, 86)  hsl(346, 100%, 57%)  Folly
#56ff22  rgb(86, 255, 34)  hsl(106, 100%, 57%)  Harlequin