#2F307C

#2f307c ≈ Dark Slate Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#2f307c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.43% red, 18.82% green and 48.63% blue; printed in CMYK it uses 62.1% cyan, 61.29% magenta, 0% yellow and 51.37% black. Its hue angle is 239.22°, with 45.03% saturation and 33.53% 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 corporate identities. White text on this color reaches a contrast ratio of 11.45:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 5.26.

Description generated from the measured properties of this color.

Conversions of #2f307c into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333366
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0417

Readable text 11.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3a3a3a ≈ 0.003% of males
Achromatomaly #36365b ≈ 0.001% of males
Protanopia #003d7f ≈ 1.01% of males
Deuteranopia #00367a ≈ 1.27% of males
Tritanopia #004251 ≈ 0.0001% of males
Protanomaly #16387e ≈ 1.08% of males
Deuteranomaly #10347b ≈ 4.63% of males
Tritanomaly #193c65 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f307c {
  color: #2f307c;
}
Background
.bg-2f307c {
  background-color: #2f307c;
  color: #ffffff;
}
Border
.border-2f307c {
  border: 2px solid #2f307c;
}
CSS variables
:root {
  --color-primary: #2f307c;
  --color-primary-rgb: 47 48 124;
  --color-primary-hsl: 239 45% 34%;
}
Gradient
.gradient-2f307c {
  background: linear-gradient(135deg, #2f307c, #552f7c);
}
Colored shadow
.shadow-2f307c {
  box-shadow: 0 8px 24px rgb(47 48 124 / 0.35);
}

Dark Slate Blue
#2f307c  rgb(47, 48, 124)  hsl(239, 45%, 34%)  Dark Slate Blue
#7c7b2f  rgb(124, 123, 47)  hsl(59, 45%, 34%)  Olive
#7c2f30  rgb(124, 47, 48)  hsl(359, 45%, 34%)  Wine
#307c2f  rgb(48, 124, 47)  hsl(119, 45%, 34%)  Green