#340DFF

#340dff ≈ Ultramarine

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

#340dff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 20.39% red, 5.1% green and 100% blue; printed in CMYK it uses 79.61% cyan, 94.9% magenta, 0% yellow and 0% black. Its hue angle is 249.67°, with 100% saturation and 52.55% 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.93:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 0.79.

Description generated from the measured properties of this color.

Conversions of #340dff into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3300ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0824

Readable text 7.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4740b3 ≈ 0.001% of males
Protanopia #005cff ≈ 1.01% of males
Deuteranopia #0045fb ≈ 1.27% of males
Tritanopia #006c96 ≈ 0.0001% of males
Protanomaly #0048ff ≈ 1.08% of males
Deuteranomaly #0036fd ≈ 4.63% of males
Tritanomaly #0055c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-340dff {
  color: #340dff;
}
Background
.bg-340dff {
  background-color: #340dff;
  color: #ffffff;
}
Border
.border-340dff {
  border: 2px solid #340dff;
}
CSS variables
:root {
  --color-primary: #340dff;
  --color-primary-rgb: 52 13 255;
  --color-primary-hsl: 250 100% 53%;
}
Gradient
.gradient-340dff {
  background: linear-gradient(135deg, #340dff, #ad0dff);
}
Colored shadow
.shadow-340dff {
  box-shadow: 0 8px 24px rgb(52 13 255 / 0.35);
}

Ultramarine
#340dff  rgb(52, 13, 255)  hsl(250, 100%, 53%)  Ultramarine
#d8ff0d  rgb(216, 255, 13)  hsl(70, 100%, 53%)  Chartreuse Yellow
#ff340d  rgb(255, 52, 13)  hsl(10, 100%, 53%)  Ferrari Red
#0dff34  rgb(13, 255, 52)  hsl(130, 100%, 53%)  Lime