#315EB8

#315eb8 ≈ Denim

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

#315eb8 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 36.86% green and 72.16% blue; printed in CMYK it uses 73.37% cyan, 48.91% magenta, 0% yellow and 27.84% black. Its hue angle is 220°, with 57.94% saturation and 45.69% 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.13:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 2.58.

Description generated from the measured properties of this color.

Conversions of #315eb8 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.1212

Readable text 6.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #52608d ≈ 0.001% of males
Protanopia #2b68bb ≈ 1.01% of males
Deuteranopia #005cb6 ≈ 1.27% of males
Tritanopia #007382 ≈ 0.0001% of males
Protanomaly #2e64ba ≈ 1.08% of males
Deuteranomaly #1c5db7 ≈ 4.63% of males
Tritanomaly #006b9b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-315eb8 {
  color: #315eb8;
}
Background
.bg-315eb8 {
  background-color: #315eb8;
  color: #ffffff;
}
Border
.border-315eb8 {
  border: 2px solid #315eb8;
}
CSS variables
:root {
  --color-primary: #315eb8;
  --color-primary-rgb: 49 94 184;
  --color-primary-hsl: 220 58% 46%;
}
Gradient
.gradient-315eb8 {
  background: linear-gradient(135deg, #315eb8, #4831b8);
}
Colored shadow
.shadow-315eb8 {
  box-shadow: 0 8px 24px rgb(49 94 184 / 0.35);
}

Denim
#315eb8  rgb(49, 94, 184)  hsl(220, 58%, 46%)  Denim
#b88b31  rgb(184, 139, 49)  hsl(40, 58%, 46%)  Dark Goldenrod
#b8315e  rgb(184, 49, 94)  hsl(340, 58%, 46%)  Dogwood Rose
#5eb831  rgb(94, 184, 49)  hsl(100, 58%, 46%)  Kelly Green