#304DD2

#304dd2 ≈ Iris

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

#304dd2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 30.2% green and 82.35% blue; printed in CMYK it uses 77.14% cyan, 63.33% magenta, 0% yellow and 17.65% black. Its hue angle is 229.26°, with 64.29% saturation and 50.59% 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 brand accents. White text on this color reaches a contrast ratio of 6.74:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.07.

Description generated from the measured properties of this color.

Conversions of #304dd2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1059

Readable text 6.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #4e569a ≈ 0.001% of males
Protanopia #0063d6 ≈ 1.01% of males
Deuteranopia #0054cf ≈ 1.27% of males
Tritanopia #007088 ≈ 0.0001% of males
Protanomaly #005bd5 ≈ 1.08% of males
Deuteranomaly #0051d0 ≈ 4.63% of males
Tritanomaly #0064ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-304dd2 {
  color: #304dd2;
}
Background
.bg-304dd2 {
  background-color: #304dd2;
  color: #ffffff;
}
Border
.border-304dd2 {
  border: 2px solid #304dd2;
}
CSS variables
:root {
  --color-primary: #304dd2;
  --color-primary-rgb: 48 77 210;
  --color-primary-hsl: 229 64% 51%;
}
Gradient
.gradient-304dd2 {
  background: linear-gradient(135deg, #304dd2, #6430d2);
}
Colored shadow
.shadow-304dd2 {
  box-shadow: 0 8px 24px rgb(48 77 210 / 0.35);
}

Iris
#304dd2  rgb(48, 77, 210)  hsl(229, 64%, 51%)  Iris
#d2b530  rgb(210, 181, 48)  hsl(49, 64%, 51%)  Old Gold
#d2304d  rgb(210, 48, 77)  hsl(349, 64%, 51%)  Brick Red
#4dd230  rgb(77, 210, 48)  hsl(109, 64%, 51%)  Lime Green